Add IDF_Form_ProjectConf

Update template
This commit is contained in:
William MARTIN
2011-04-01 16:05:32 +02:00
parent aa164936f4
commit 352dc3e179
6 changed files with 176 additions and 7 deletions

View File

@@ -12,8 +12,8 @@
{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'}" />
{if $logos[$p->shortname]}
<img src="{$logos[$p->shortname]}" alt="{trans 'Project logo'}" />
{else}
<img src="{media '/idf/img/no_logo.png'}" alt="{trans 'Project logo'}" />
{/if}