X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=377a5a6f3fe61464991f47b04fef93610d20cd99;hb=07eb5b0e8b0a50e245fad68758c8f78e89806103;hp=f1ca9d92ab38a5f68e6f6d8dc0786f088b520118;hpb=e84395087d3ab4d549be6fad7d6c7296601796ff;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index f1ca9d9..377a5a6 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 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} : 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]

{/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,6 +174,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 +194,7 @@ Ils ont payé mais ont oublié de s'inscrire : {/foreach}

-{if $absents->total()} +{if $absents|@count}
@@ -194,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} @@ -213,29 +221,32 @@ 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} @@ -253,14 +264,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 :