X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Fplview.trombi.tpl;h=1015f5fd3f3e897085773fcd476a32a6c4ac2658;hb=29abb563dfe6d9e813c76f656532aae0d69da4f2;hp=afe6d62f12ad7c5d44d00c13f0e43d85bd03614b;hpb=eccc8fa784f19c658862f57ff634cce331e0b40a;p=platal.git diff --git a/templates/include/plview.trombi.tpl b/templates/include/plview.trombi.tpl index afe6d62..1015f5f 100644 --- a/templates/include/plview.trombi.tpl +++ b/templates/include/plview.trombi.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -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,7 +35,7 @@  [ PHOTO ] - {if $trombi_with_admin && $smarty.session.perms->hasFlag('admin')} + {if $trombi_with_admin && hasPerm('admin')} {icon name=wrench title="[admin]"} {/if}
@@ -49,5 +54,6 @@ {/if}
+{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}