From: Florent Bruneau Date: Sun, 18 May 2008 21:08:25 +0000 (+0200) Subject: Print the number of comers when the event contains only one sub-event. (Closes #825) X-Git-Tag: core/1.0.0~181 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=bc1dd7a11d2e882c9da9e36d4c228f5e446f2911;p=platal.git Print the number of comers when the event contains only one sub-event. (Closes #825) Signed-off-by: Florent Bruneau --- diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index a5422e6..5402e45 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -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).