X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=0f8db14308657b489649e576b3dc82b543e80741;hb=5660032ac785d410f90e3f5b0d6948dc90b0cfea;hp=ab83d43165ac0d261a1d54fac2ad11016d79da95;hpb=25fe4c85de79aa601948d788b5754b5b6070080d;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index ab83d43..0f8db14 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -20,7 +20,7 @@ {* *} {**************************************************************************} -

{$asso.nom} : Événements

+

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

{if $evt.titre || count($moments) eq 1} @@ -34,9 +34,13 @@ {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} @@ -83,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} @@ -141,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} @@ -169,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} @@ -198,7 +198,7 @@ Ils ont payé mais ont oublié de s'inscrire : {/foreach}

-{if $absents->total()} +{if $absents|@count}
@@ -206,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}