X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=551fa140428f30367530cfaedc95f526a6a4c278;hb=7e0635c236b71673d8bd8e7e24ae76fa3a5cf01c;hp=ab83d43165ac0d261a1d54fac2ad11016d79da95;hpb=ecf2b474289f94932ff60ab18674610979d0e0db;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index ab83d43..551fa14 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,23 +20,27 @@ {* *} {**************************************************************************} -

{$asso.nom} : Événements

+

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

{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} + {$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} +{if $evt.short_name && $participants|@count && $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} @@ -80,26 +84,22 @@ Ils ont payé mais ont oublié de s'inscrire : Infos Montant - {iterate from=$oubliinscription item=m} + {foreach 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} + {$m.amount|replace:'.':','} € - {/iterate} + {/foreach}
@@ -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} @@ -225,7 +225,7 @@ Ils ont payé mais ont oublié de s'inscrire : {if $is_admin}

- + {icon name=page_excel title="Télécharger au format Excel"} Télécharger le fichier Excel

@@ -255,6 +255,12 @@ Donne ici son email, ainsi que le nombre de participants. {/if}

+

+ Tu peux aussi enlever toute trace de son inscription ou de sa décision de ne pas s'insscrire (s'il n'a rien payé). +

+ +
+

{if $evt.money}