X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=0566b310e0b1a2883c2a1415cc218e25b237e108;hb=bba75eda287510a87b7af689e02aef421bfaab90;hp=1b1af9e9d1bce2bc276669641e7ad893a98d48b0;hpb=7d73bb7bc37d7774ecf73dad6e6c4e20278afaf3;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index 1b1af9e..0566b31 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,16 +20,22 @@ {* *} {**************************************************************************} -
-L'événement {$evt.intitule} {if $evt.titre} - {$evt.titre}{/if} comptera -{$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}. +L'événement {$evt.intitule} +{if $evt.titre} - {$evt.titre} +{/if} +{if $evt.titre || count($moments) eq 0} +comptera {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}. +{else} +({$evt.nb} personne{if $evt.nb > 1}s{/if} ont réalisé leur inscription). +{/if}
-{if $evt.participant_list} +{if $evt.participant_list && $is_admin}-[envoyer un mail à ceux qui viennent] +[envoyer un mail à ceux qui viennent] - [envoyer un mail aux membres non inscrits]
@@ -37,48 +43,47 @@ L' {if count($moments) > 1}-[argv[2]}class="erreur"{/if}>tout] +[argv[2]}class="erreur"{/if}>tout] {foreach from=$moments item=m} -[argv[2] eq $m.item_id}class="erreur"{/if}>{$m.titre}] +[argv[2] eq $m.item_id}class="erreur"{/if}>{$m.titre}] {/foreach}
{/if}-[tout] +[tout] {foreach from=$alphabet item=c} -[{$c}] +[{$c}] {/foreach}
-{if $admin}{literal} +{if $is_admin}{literal} {/literal} {if $oublis}-Ils ont payé mais ont oublié de s'inscrire : +Ils ont payé mais ont oublié de s'inscrire :
-Prénom NOM | +Prénom NOM | Promo | Infos | Montant | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- + {$m.prenom} {$m.nom} | @@ -100,31 +105,41 @@ Ils ont pay
Prénom NOM | -Promo | -Info | + {if $is_admin && $evt.paiement_id && $tout} + {assign var=height value='rowspan="2"'} + {/if} +Prénom NOM | +Promo | +Info | {if $tout} {if $moments} {foreach from=$moments item=m} -{$m.titre} | +{$m.titre} | {/foreach} {else} -Nombre | +Nombre | {/if} - {if $admin && $evt.money} -Montant | -Payé | + {if $is_admin && $evt.money} +Montant | +Payé | {/if} {else} -Nombre | +Nombre | {/if}||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Télépaiement | +Autre | +Total | +|||||||||||||||
- + {if $is_admin}{/if} {if $m.femme}•{/if}{$m.prenom} {$m.nom} - + {if $is_admin}{/if} | {$m.promo} | @@ -144,9 +159,13 @@ Ils ont pay {else} | {$m[1]} | {/if} - {if $admin && $evt.money} + {if $is_admin && $evt.money}$m.paid}class="erreur"{/if}>{$m.montant}€ | -{$m.paid}€ | + {if $evt.paiement_id} +{$m.telepayment|default:0}€ | +{$m.adminpaid|default:0}€ | + {/if} +{$m.paid}€ | {/if} {else}
@@ -159,24 +178,48 @@ Ils ont pay
{foreach from=$links item=ofs key=txt} -{$txt} +{$txt} {/foreach} -{if $admin} +{if $absents->total()} + ++ + Les personnes suivantes ont indiqué qu'elles ne viendraient pas à l'événement : + +
-[Télécharger le fichier Excel] +[Télécharger le fichier Excel] -En tant qu'administrateur, tu peux fixer la venue (accompagnée ou pas) d'un des membres du groupe. +En tant qu'administrateur, tu peux fixer la venue (accompagnée ou pas) d'un des membres du groupe. Donne ici son mail, ainsi que le nombre de participants. - |