X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=377a5a6f3fe61464991f47b04fef93610d20cd99;hb=07eb5b0e8b0a50e245fad68758c8f78e89806103;hp=a5422e6ed52a33fe0513db640cdc7bec47c6adc7;hpb=77af6562b4110b87bf2354f22db42040b1cfaa1b;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index a5422e6..377a5a6 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2009 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,30 +20,30 @@ {* *} {**************************************************************************} -

{$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 0} -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 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]

{/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 +83,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} + + {profile user=$m.user link=false} - {$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 +137,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} @@ -178,7 +174,7 @@ Ils ont payé mais ont oublié de s'inscrire : {/if} {/foreach} - {if $is_admin && $evt.money} + {if $is_admin && $evt.money && $tout} {assign var=cols value=$moments|@count} Total @@ -198,7 +194,7 @@ Ils ont payé mais ont oublié de s'inscrire : {/foreach}

-{if $absents->total()} +{if $absents|@count}
@@ -206,18 +202,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,21 +221,24 @@ 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} : @@ -269,9 +268,10 @@ Note que tu peux cliquer sur les noms des membres pour remplir automatiquement l

+ {xsrf_token_field}

- Mail : + Email : montant :