From: Anne Limoges Date: Wed, 26 Jun 2013 08:15:42 +0000 (+0200) Subject: Gives the number of participants even for simple xnetevents. X-Git-Tag: xorg/1.1.9~24 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d598204cf527c2668abc64c2959d248c2f3333d1;p=platal.git Gives the number of participants even for simple xnetevents. --- diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index a910390..347f6e9 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -22,19 +22,6 @@

{$asso->nom} : Événements

-{if $tout} -

- {$evt.nb_tot} personne{if $evt.nb_tot > 1}s ont réalisé leur {else} a réalisé son {/if} - inscription à l'événement {$evt.intitule} {if $evt.titre}- {$evt.titre} {/if} - qui aura lieu {$evt.date}. -

-{else} -

- {$evt.nb_tot} personne{if $evt.nb_tot > 1}s participeront {else} participera {/if} - à {$evt.intitule} - {$evt.titre} -

-{/if} - {if $evt.short_name && $participants|@count && $is_admin}

[envoyer un email à ceux qui viennent] @@ -47,7 +34,6 @@

{/if} -{if count($moments) > 1}

[argv[2]}class="erreur"{/if}>Vue générale] @@ -55,7 +41,6 @@ [argv[2] eq $m.item_id}class="erreur"{/if}>{$m.titre}] {/foreach}

-{/if}

[tout] @@ -75,6 +60,19 @@ function remplitAuto(mail) { {/literal} +{if $tout} +

+ {$evt.nb_tot} personne{if $evt.nb_tot > 1}s ont réalisé leur {else} a réalisé son {/if} + inscription à l'événement {$evt.intitule} {if $evt.titre}- {$evt.titre} {/if} + qui aura lieu {$evt.date}. +

+{else} +

+ {$evt.nb_tot} personne{if $evt.nb_tot > 1}s participeront {else} participera {/if} + à {$evt.intitule} - {$evt.titre} +

+{/if} + {if $oublis}

Ils ont payé mais ont oublié de s'inscrire :