X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=d466b207f5f89a9d1a3e5f4f8a83c103c46e976c;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=f1ca9d92ab38a5f68e6f6d8dc0786f088b520118;hpb=e84395087d3ab4d549be6fad7d6c7296601796ff;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index f1ca9d9..d466b20 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,30 +20,34 @@ {* *} {**************************************************************************} -

{$asso.nom} : Evénements

+

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

-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.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 mail à ceux qui viennent] -- -[envoyer un mail aux membres non inscrits] + [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} {if count($moments) > 1}

-[argv[2]}class="erreur"{/if}>tout] +[argv[2]}class="erreur"{/if}>Vue générale] {foreach from=$moments item=m} [argv[2] eq $m.item_id}class="erreur"{/if}>{$m.titre}] {/foreach} @@ -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="mail"} + {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="mail"} + {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="mail"} + {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} @@ -178,6 +178,18 @@ Ils ont payé mais ont oublié de s'inscrire : {/if} {/foreach} + {if $is_admin && $evt.money && $tout} + + {assign var=cols value=$moments|@count} + Total + {$evt.topay}€ + {if $evt.paiement_id} + {$evt.telepaid|default:0}€ + {$evt.adminpaid|default:0}€ + {/if} + {$evt.paid}€ + + {/if}

@@ -186,7 +198,7 @@ Ils ont payé mais ont oublié de s'inscrire : {/foreach}

-{if $absents->total()} +{if $absents|@count}
@@ -194,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} @@ -213,33 +225,42 @@ Ils ont payé mais ont oublié de s'inscrire : {if $is_admin}

-[Télécharger le fichier Excel] + + {icon name=page_excel title="Télécharger au format 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. -Donne ici son mail, ainsi que le nombre de participants. +Donne ici son email, ainsi que le nombre de participants.

+ {xsrf_token_field}

- Mail: + Email : {if $platal->argv[2]} - {$evt.titre}: + {$evt.titre} : {else} {foreach from=$moments item=m} - {$m.titre}: + {$m.titre} : {foreachelse} - Nombre: + Nombre : {/foreach} {/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} @@ -253,14 +274,15 @@ entrer un montant négatif.

-Note que tu peux cliquer sur les noms des membres pour remplir automatiquement la case ci-dessous +Note que tu peux cliquer sur les noms des membres pour remplir automatiquement la case ci-dessous.

+ {xsrf_token_field}

- Mail: - montant: € + Email : + montant :