X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=8b10415efa78b44697a3444a74cb0f1b3b8c6f0a;hb=d0edeb70f254ed642b59c7c3636b7802266bcfe4;hp=3af273e4dc1776a591a452c02af842c6a3123e05;hpb=e72682520c087dd51ff8d1686da229ff5d2ecdbb;p=platal.git diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl index 3af273e..8b10415 100644 --- a/templates/xnetevents/admin.tpl +++ b/templates/xnetevents/admin.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,30 +20,31 @@ {* *} {**************************************************************************} -

{$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} +{if $evt.titre || count($moments) eq 1} 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). +({$evt.nb} personne{if $evt.nb > 1}s ont réalisé leur{else} a réalisé son{/if} inscription). {/if}

{if $evt.participant_list && $is_admin}

-[envoyer un mail à ceux qui viennent] +[envoyer un email à ceux qui viennent] - -[envoyer un mail aux membres non inscrits] +[envoyer un email aux membres non inscrits]

{/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} @@ -64,14 +65,13 @@ function remplitAuto(mail) { var f = document.getElementById('montant'); if (f) f.mail.value=mail; - return false; } {/literal} {if $oublis}

-Ils ont payé mais ont oublié de s'inscrire : +Ils ont payé mais ont oublié de s'inscrire :

@@ -85,14 +85,18 @@ Ils ont payé mais ont oublié de s'inscrire : @@ -138,18 +142,18 @@ Ils ont payé mais ont oublié de s'inscrire : {foreach from=$participants item=m} {if $tout} @@ -175,6 +179,18 @@ Ils ont payé mais ont oublié de s'inscrire : {/if} {/foreach} + {if $is_admin && $evt.money && $tout} + + {assign var=cols value=$moments|@count} + + + {if $evt.paiement_id} + + + {/if} + + + {/if}
- {$m.prenom} {$m.nom} + {if !$m.prenom && !$m.nom} + {$m.email} + {else} + {$m.prenom} {$m.nom} + {/if} {$m.promo} {icon name=user_suit title="fiche"} {icon name=vcard title="vcard"} - {icon name=email title="mail"} + {icon name=email title="email"} {$m.montant}
- - {if $m.femme}•{/if}{$m.prenom} {$m.nom} - + {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} {$m.promo} {if $m.x} {icon name=user_suit title="fiche"} {icon name=vcard title="vcard"} - {icon name=email title="mail"} + {icon name=email title="email"} {else} - {icon name=email title="mail"} + {icon name=email title="email"} {/if}
Total{$evt.topay}€{$evt.telepaid|default:0}€{$evt.adminpaid|default:0}€{$evt.paid}€

@@ -194,9 +210,9 @@ Ils ont payé mais ont oublié de s'inscrire : {iterate from=$absents item=m} - + {if $is_admin}{/if} {if $m.sexe}•{/if}{$m.prenom} {$m.nom} - + {if $is_admin}{/if} {$m.promo} @@ -210,29 +226,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} @@ -250,14 +269,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 :