2008-11-18 08:15:02 +00:00
|
|
|
{extends "idf/base-simple.html"}
|
2008-07-25 08:26:05 +00:00
|
|
|
{block docclass}yui-t1{/block}
|
2008-11-30 23:36:27 +00:00
|
|
|
{block tabhome} class="active"{/block}
|
|
|
|
{block subtabs}<a href="{url 'IDF_Views::index'}" class="active">{trans 'Projects'}</a>{/block}
|
2008-07-25 08:26:05 +00:00
|
|
|
{block body}
|
|
|
|
{if $projects.count() == 0}
|
|
|
|
<p>{trans 'No projects managed with InDefero were found.'}</p>
|
2008-12-02 12:22:01 +00:00
|
|
|
{if $isAdmin}
|
|
|
|
{aurl 'url', 'IDF_Views_Admin::projectCreate'}
|
|
|
|
<p><a href="{$url}"><img style="vertical-align: text-bottom;" src="{media '/idf/img/add.png'}" alt="+" align="bottom" /></a> <a href="{$url}">{trans 'Create Project'}</a></p>{/if}
|
2008-07-25 08:26:05 +00:00
|
|
|
{else}
|
|
|
|
<ul>{foreach $projects as $p}
|
2009-07-08 12:35:44 +00:00
|
|
|
<li>{if $p.private}<img style="vertical-align: text-bottom;" src="{media '/idf/img/lock.png'}" alt="{trans 'Private project'}" /> {/if}<a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a>{if $p.shortdesc}, {$p.shortdesc}{/if}</li>
|
2008-07-25 08:26:05 +00:00
|
|
|
{/foreach}</ul>
|
|
|
|
{/if}
|
|
|
|
{/block}
|
|
|
|
{block context}
|
|
|
|
<p><strong>{trans 'Managed Projects:'}</strong> {$projects.count()}</p>
|
|
|
|
{/block}
|
2008-11-30 09:26:05 +00:00
|
|
|
{block foot}<div id="branding">Powered by <a href="http://www.indefero.net" title="InDefero, bug tracking and more">InDefero</a>,<br />a <a href="http://www.ceondo.com">Céondo Ltd</a> initiative.</div>{/block}
|