X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=0f8db14308657b489649e576b3dc82b543e80741;hb=e46cf8c46341b447cc3701c8afcc9baec3da11e5;hp=fe3c13982365d559a30a011513b8b717e8cac948;hpb=9891bd15f772caef0c199a98f036e976bf4ab94a;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index fe3c139..0f8db14 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -20,24 +20,27 @@ {* *} {**************************************************************************} -

{$asso.nom} : Événements

+

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

-L'événement {$evt.intitule} -{if $evt.titre} - {$evt.titre} -{/if} -{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). -{/if} + {if $evt.titre || count($moments) eq 1} + {$evt.nb_tot} personne{if $evt.nb_tot > 1}s ont réalisé leur {else} a réalisé son {/if} + {else} + {$evt.nb} personne{if $evt.nb > 1}s ont réalisé leur{else} a réalisé son {/if} + {/if} + inscription à l'événement {$evt.intitule} {if $evt.titre}- {$evt.titre} {/if} + qui aura lieu {$evt.date}.

{if $evt.participant_list && $is_admin}

-[envoyer un email à ceux qui viennent] -
-[envoyer un email aux membres du groupe n'ayant pas répondu] + [envoyer un email à ceux qui viennent] +
+ [envoyer un email aux membres du groupe n'ayant pas répondu] +
+ [envoyer un email aux personnes ayant payé] +
+ [envoyer un email aux inscrits n'ayant pas encore payé]

{/if} @@ -84,19 +87,15 @@ Ils ont payé mais ont oublié de s'inscrire : {iterate from=$oubliinscription item=m} - - {if !$m.prenom && !$m.nom} - {$m.email} - {else} - {$m.prenom} {$m.nom} - {/if} - + {if $is_admin}{/if} + {profile user=$m.user link=false} + {if $is_admin}{/if} - {$m.promo} + {$m.user->promo()} - {icon name=user_suit title="fiche"} - {icon name=vcard title="vcard"} - {icon name=email title="email"} + {icon name=user_suit title="fiche"} + {icon name=vcard title="vcard"} + {icon name=email title="email"} {$m.montant} @@ -142,18 +141,18 @@ Ils ont payé mais ont oublié de s'inscrire : {foreach from=$participants item=m} - {if $is_admin}{/if} - {if $m.femme}•{/if}{if !$m.prenom && !$m.nom}{$m.email}{else}{$m.prenom} {$m.nom}{/if} + {if $is_admin}{/if} + {profile user=$m.user promo=false link=false} {if $is_admin}{/if} - {$m.promo} + {$m.user->promo()} - {if $m.x} - {icon name=user_suit title="fiche"} - {icon name=vcard title="vcard"} - {icon name=email title="email"} + {if $m.user->hasProfile()} + {icon name=user_suit title="fiche"} + {icon name=vcard title="vcard"} + {icon name=email title="email"} {else} - {icon name=email title="email"} + {icon name=email title="email"} {/if} {if $tout} @@ -170,7 +169,7 @@ Ils ont payé mais ont oublié de s'inscrire : {$m.telepayment|default:0}€ {$m.adminpaid|default:0}€ {/if} - {$m.paid}€ + {$m.paid}€ {/if} {else} @@ -199,7 +198,7 @@ Ils ont payé mais ont oublié de s'inscrire : {/foreach}

-{if $absents->total()} +{if $absents|@count}
@@ -207,18 +206,18 @@ Ils ont payé mais ont oublié de s'inscrire : - {iterate from=$absents item=m} + {foreach from=$absents item=m} - {/iterate} + {/foreach}
Prénom NOMOrigine
- {if $is_admin}{/if} - {if $m.sexe}•{/if}{$m.prenom} {$m.nom} + {if $is_admin}{/if} + {profile user=$m link=false promo=false} {if $is_admin}{/if} - {$m.promo} + {$m->promo()}
{/if}