2008-07-25 08:26:05 +00:00
|
|
|
{extends "base-simple.html"}
|
|
|
|
{block docclass}yui-t1{/block}
|
|
|
|
{block body}
|
|
|
|
{if $projects.count() == 0}
|
|
|
|
<p>{trans 'No projects managed with InDefero were found.'}</p>
|
|
|
|
{if $user.administrator}<p>{blocktrans}Create a new project.{/blocktrans}</p>{/if}
|
|
|
|
{else}
|
|
|
|
<ul>{foreach $projects as $p}
|
2008-07-29 19:18:02 +00:00
|
|
|
<li><a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a></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}
|