{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}␊ |
{else}␊ |
<ul>{foreach $projects as $p}␊ |
<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>␊ |
{/foreach}</ul>␊ |
{foreach $projects as $p}␊ |
<div class="p-list-img">␊ |
<a href="{url 'IDF_Views_Project::home', array($p.shortname)}">␊ |
{if $p.logo != 0}␊ |
<img src="{$p.logo}" alt="{trans 'Project logo'}" />␊ |
{else}␊ |
<img src="{media '/idf/img/no_logo.png'}" alt="{trans 'Project logo'}" />␊ |
{/if}␊ |
</a>␊ |
{if $p.private}<div class="p-list-private"><a href="{url 'IDF_Views_Project::home', array($p.shortname)}"><img style="float:right" src="{media '/idf/img/lock.png'}" alt="{trans 'Private project'}" /></a></div>{/if}␊ |
</div>␊ |
<div class="p-list-prj">␊ |
<p><a href="{url 'IDF_Views_Project::home', array($p.shortname)}"><strong>{$p}</strong></a>{if $p.private} - {trans 'Private project'}</p>{/if}</p>␊ |
{if $p.shortdesc}<p>{$p.shortdesc}</p>{/if}␊ |
</div>␊ |
<div style="clear: both"></div>␊ |
{/foreach}␊ |
{/if}␊ |
{/block}␊ |
{block context}␊ |