Autocomplete enterprise name in profile edition. (Closes #836)
[platal.git] / templates / xnetevents / index.tpl
index c23600b..eff4fd5 100644 (file)
@@ -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  *}
 {**************************************************************************}
 
 {if !$is_admin}
-<h1>{$asso.nom} : Evénements</h1>
+<h1>{$asso.nom}&nbsp;: Événements</h1>
 {else}
 <h1>
-  {$asso.nom} 
-  {if $archive}[<a href="{$platal->ns}events">Evénements</a>] {else}Evénements {/if}
+  {$asso.nom}&nbsp;
+  {if $archive}[<a href="{$platal->ns}events">Événements</a>] {else}Événements {/if}
   {if $archive}Archives {else}[<a href="{$platal->ns}events/archive">Archives</a>] {/if}
 </h1>
 
@@ -61,7 +61,7 @@
   <tr>
     <th colspan="2"{if !$e.inscr_open} class="grayed"{/if}>
       <a href="{$platal->ns}events/ical/{$e.short_name|default:$e.eid}/{$e.short_name|default:$e.eid}.ics" style="display: block; float: left;">
-        {icon name=calendar_view_day title="Evénement iCal"}
+        {icon name=calendar_view_day title="Événement iCal"}
       </a>
       {$e.intitule}
       {if !$e.inscr_open}
@@ -71,7 +71,7 @@
       <br />
       [<a href="{$platal->ns}events/edit/{$e.short_name|default:$e.eid}">
         modifier
-        {icon name=date_edit title="Edition de l'événement"}</a>]
+        {icon name=date_edit title="Édition de l'événement"}</a>]
       &nbsp;
       [<a href="javascript:dynpostkv('{$platal->pl_self()}', {if !$archive}'archive'{else}'unarchive'{/if}, {$e.eid})">
         {if !$archive}
@@ -91,7 +91,7 @@
   </tr>
 
   <tr>
-    <td class="titre">date :</td>
+    <td class="titre">Date&nbsp;:</td>
     <td>
       {if $e.fin and $e.fin neq $e.debut}
         {if $e.debut_day eq $e.fin_day}
   </tr>
 
   <tr>
-    <td class="titre">annonceur :</td>
+    <td class="titre">Annonceur&nbsp;:</td>
     <td>
       <a href='https://www.polytechnique.org/profile/{$e.alias}' class='popup2'>{$e.prenom} {$e.nom} ({$e.promo})</a>
     </td>
 
   {if $is_admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)}
   <tr>
-    <td class="titre">Informations :</td>
+    <td class="titre">Informations&nbsp;:</td>
     <td class='actions'>
       {if $is_admin || $e.show_participants}
       <a href="{$platal->ns}events/admin/{$e.short_name|default:$e.eid}">
 
   <tr>
     <td class="titre">
-      État inscription
+      État inscription&nbsp;:
       {if $e.inscr_open}
         <input type="hidden" name="evt_{counter}" value="{$e.eid}" />
       {/if}
         Tu viendras seul
         {else}
         Tu viendras avec {$m.nb-1} personne{if $m.nb > 2}s{/if}
-        {/if} à <em>{$m.titre}</em><br />
+        {/if} à <em>{$m.titre}</em>.<br />
         {/foreach}
       {/if}
 
         Tu dois payer {$e.topay|replace:'.':','}&nbsp;&euro;.
         {elseif $e.paid < $e.topay}
         Tu dois encore payer {math equation="a-b" a=$e.topay b=$e.paid|replace:'.':','}&nbsp;&euro;
-        (tu as déjà payé {$e.paid|replace:'.':','}&nbsp;&euro;)
+        (tu as déjà payé {$e.paid|replace:'.':','}&nbsp;&euro;).
         {else}
         Tu as déjà payé les {$e.paid|replace:'.':','}&nbsp;&euro; de ton inscription.
         {/if}
 
 {foreachelse}
 
-
 <p class="descr">
 {if $archive}
   Aucun événement n'a été archivé par les animateurs du groupe.
 
 {/foreach}
 
+{if $undisplayed_events neq 0}
+<p class="descr">
+  Il y a {$undisplayed_events} événement{if $undisplayed_events > 1}s non affichés car ils sont réservés
+  {else} non affiché car il est réservé{/if} aux membres de ce groupe.
+</p>
+{/if}
+
 {if $evenements}
 <p class="descr">
-  En cliquant sur l'icône {icon name=calendar_view_day title="Evénement iCal"} associée à un événement
-  tu peux télécharger la version iCal de l'événement qui permet de l'ajouter dans ton agenda électronique
+  En cliquant sur l'icône {icon name=calendar_view_day title="Événement iCal"} associée à un événement,
+  tu peux télécharger la version iCal de l'événement qui permet de l'ajouter dans ton agenda électronique.
 </p>
 {/if}