Some fixes again
[platal.git] / templates / xnetevents / admin.tpl
index 4177566..047c743 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
-<h1>{$asso.nom} : <a href='{$platal->ns}events'>Evénements</a> </h1>
+<h1>{$asso.nom} : <a href='{$platal->ns}events'>Evénements</a> </h1>
 
 <p>
-L'événement {$evt.intitule} {if $evt.titre} - {$evt.titre}{/if} comptera
+L'événement {$evt.intitule} {if $evt.titre} - {$evt.titre}{/if} comptera
 {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}.
 </p>
 
 {if $evt.participant_list}
 <p class="center">
-[<a href="mailto:?bcc={$evt.short_name}-participants@{#globals.xnet.evts_domain#}">envoyer un mail à ceux qui viennent</a>]
+[<a href="mailto:?bcc={$evt.short_name}-participants@{#globals.xnet.evts_domain#}">envoyer un mail à ceux qui viennent</a>]
 -
 [<a href="mailto:?bcc={$evt.short_name}-absents@{#globals.xnet.evts_domain#}">envoyer un mail aux membres non inscrits</a>]
 </p>
@@ -65,18 +65,18 @@ function remplitAuto(mail) {
 
 {if $oublis}
 <p class="erreur">
-Ils ont payé mais ont oublié de s'inscrire :
+Ils ont payé mais ont oublié de s'inscrire :
 </p>
 
-<table summary="payé mais non inscrits" class="tiny">
+<table summary="payé mais non inscrits" class="tinybicol">
   <tr>
-    <th>Prénom NOM</th>
+    <th>Prénom NOM</th>
     <th>Promo</th>
     <th>Infos</th>
     <th>Montant</th>
   </tr>
   {iterate from=$oubliinscription item=m}
-  <tr style="background:#d0c198;">
+  <tr class="pair">
     <td>
       <a href="" {if $is_admin}onclick="return remplitAuto('{$m.email}')"{/if}>
       {$m.prenom} {$m.nom}
@@ -100,7 +100,7 @@ Ils ont pay
 
 <table summary="participants a l'evenement" class="{if $tout}large{else}tiny{/if}">
   <tr>
-    <th>Prénom NOM</th>
+    <th>Prénom NOM</th>
     <th>Promo</th>
     <th>Info</th>
     {if $tout}
@@ -113,7 +113,7 @@ Ils ont pay
       {/if}
       {if $is_admin && $evt.money}
         <th>Montant</th>
-        <th>Payé</th>
+        <th>Payé</th>
       {/if}
     {else}
     <th>Nombre</th>
@@ -163,16 +163,40 @@ Ils ont pay
 {/foreach}
 </p>
 
+{if $absents->total()}
+
+<hr />
+
+<p>Les personnes suivantes ont indiqué qu'elles ne viendraient pas à l'événement&nbsp;:</p>
+
+<table class="tinybicol">
+  <tr><th>Prénom NOM</th><th>Origine</th></tr>
+  {iterate from=$absents item=m}
+  <tr>
+    <td>
+      <a href="" {if $is_admin}onclick="return remplitAuto('{$m.email}')"{/if}>
+      {if $m.sexe}&bull;{/if}{$m.prenom} {$m.nom}
+      </a>
+    </td>
+    <td>
+      {$m.promo}
+    </td>
+  </tr>
+  {/iterate}
+</table>
+
+{/if}
+
 {if $is_admin}
 
 <p class="descr">
-[<a href="{$platal->ns}events/csv/{$evt.eid}/{$platal->argv[2]}/{$evt.intitule}{if $evt.titre}.{$evt.titre}{/if}.csv">Télécharger le fichier Excel</a>]
+[<a href="{$platal->ns}events/csv/{$evt.eid}/{$platal->argv[2]}/{$evt.intitule}{if $evt.titre}.{$evt.titre}{/if}.csv">Télécharger le fichier Excel</a>]
 </p>
 
 <hr />
 
 <p class="descr">
-En tant qu'administrateur, tu peux fixer la venue (accompagnée ou pas) d'un des membres du groupe.
+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.
 </p>
 
@@ -200,9 +224,9 @@ Donne ici son mail, ainsi que le nombre de participants.
 <hr />
 
 <p class="descr">
-En tant qu'administrateur, tu peux entrer un paiement reçu par une autre source que le télépaiement
-du site X.org. Ce montant s'ajoutera aux montants déjà entrés. Si tu as fait une erreur, tu peux
-entrer un montant négatif.
+En tant qu'administrateur, tu peux entrer un paiement reçu par une autre source que le télépaiement
+du site X.org. Ce montant s'ajoutera aux montants déjà entrés. Si tu as fait une erreur, tu peux
+entrer un montant négatif.
 </p>
 
 <p class="descr">
@@ -221,4 +245,4 @@ Note que tu peux cliquer sur les noms des membres pour remplir automatiquement l
 
 {/if}
 
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}