X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.trombi.tpl;h=97f44c1c2bffbc51a65db33c2db0dcc182c719d0;hb=c974e61c78efb98c0cbe81aa78bfdc47f3c31ead;hp=89a5d9b71d680151563b184159a72796b1dcd8c9;hpb=8c4a0c30c699f190cb7906746e22f67014df3368;p=platal.git diff --git a/templates/include/plview.trombi.tpl b/templates/include/plview.trombi.tpl index 89a5d9b..97f44c1 100644 --- a/templates/include/plview.trombi.tpl +++ b/templates/include/plview.trombi.tpl @@ -20,6 +20,11 @@ {* *} {**************************************************************************} +{if $plset_count eq 0} +

+ Aucun des camarades concernés n'a de photographie sur sa fiche +

+{else} {iterate from=$set item=p} {cycle values="1,2,3" assign="loop"} @@ -30,11 +35,11 @@  [ PHOTO ] - {if $trombi_with_admin && $smarty.session.perms->hasFlag('admin')} + {if $trombi_with_admin && hasPerm('admin')} {icon name=wrench title="[admin]"} {/if}
- + {$p.prenom} {$p.nom}{if $trombi_with_promo} ({$p.promo}){/if} @@ -49,5 +54,6 @@ {/if}
+{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}