Print the number of comers when the event contains only one sub-event. (Closes #825)
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 18 May 2008 21:08:25 +0000 (23:08 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 18 May 2008 21:08:25 +0000 (23:08 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
templates/xnetevents/admin.tpl

index a5422e6..5402e45 100644 (file)
@@ -26,7 +26,7 @@
 L'événement {$evt.intitule}
 {if $evt.titre} - {$evt.titre}
 {/if}
-{if $evt.titre || count($moments) eq 0}
+{if $evt.titre || count($moments) eq 1}
 comptera {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}.
 {else}
 ({$evt.nb} personne{if $evt.nb > 1}s ont réalisé leur{else} a réalisé son{/if} inscription).