X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=4ed095d2d2a7ffdf7f471edae45ac12bdaba359b;hb=f9a8c549deebf96792c3ba423e01545dc7caf95b;hp=80c3fa72fb0f42b5aad8ad75b45cefd0c01468ef;hpb=34ade5a639500e0a43dfb5ccff4ecbac5fbda919;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index 80c3fa7..4ed095d 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 *} @@ -26,17 +26,21 @@ {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 $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} - {/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}