srchub

srchub Git Source Tree


Root/indefero/src/IDF/templates/idf/main-menu.html

<a href="#title" accesskey="2"></a>
<ul id="main-menu">
{if !$user.isAnonymous()}
{aurl 'url', 'idf_dashboard'}
<li>{blocktrans}Welcome, <strong><a class="userw" href="{$url}">{$user}</a></strong>.{/blocktrans}
    <a href="{url 'IDF_Views::logout'}">{trans 'Sign Out'}</a></li>
    <li><a href="{url 'IDF_Views_User::requestproject'}">Request Project</a></li>
    {else}
<a href="{url 'IDF_Views::login'}">{trans 'Sign in or create your account'}</a></li>
{/if}{if $customForgePageEnabled}
<li><a href="{url 'IDF_Views::index'}">{trans 'Home'}</a></li>
{/if}<li id="project-list"><a href="{url 'IDF_Views::listProjects'}">{trans 'Project List'} ▾</a>

{if $allProjects.count() != 0}
<ul class="prjlistclass">
    <li id="searchkeep"><input size="15" type="text" id="prjname" name="prjname" placeholder="Project Name..." /></li>
    {foreach $allProjects as $p}
        <li class="projectitem"><a href="{url 'IDF_Views_Project::home', array($p.shortname)}"><img src="{media '/idf/img/no_logo.png'}" data-logo="{$p.logo}" class="logo" data-src="{url 'IDF_Views_Project::logo64', array($p.shortname)}" alt="{trans 'Project logo'}" />{if $p.private}<img class="lock" src="{media '/idf/img/lock.png'}" alt="{trans 'Private project'}" />{/if}{$p}</a></li>
    {/foreach}
</ul>
{/if}

</li>{if $isAdmin}<li><a href="{url 'IDF_Views_Admin::forge'}">{trans 'Forge Management'} {if $pendingProjects > 0}({$pendingProjects}){/if}</a></li>{/if}<li>
<a href="{url 'IDF_Views::faq'}" title="{trans 'Help and accessibility features'}">{trans 'Help'}</a></li>
</ul>

{if $allProjects.count() != 0}
<script src="{media '/idf/js/projectsearch.js'}" type="text/javascript" charset="utf-8"></script>
{/if}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.10324s using 11 queries.