Fixed issue 181, add an icon in the project list for private projects.

This commit is contained in:
Loic d'Anterroches 2009-07-08 14:35:44 +02:00
parent 68cc1ed5d3
commit c321e4828b
2 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<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} <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} {else}
<ul>{foreach $projects as $p} <ul>{foreach $projects as $p}
<li><a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p}</a>{if $p.shortdesc}, {$p.shortdesc}{/if}</li> <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}</ul>
{/if} {/if}
{/block} {/block}

BIN
www/media/idf/img/lock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B