1 {**************************************************************************}
3 {* Copyright (C) 2003-2013 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 <table class='warnings'>
26 <td class='center'>Choisis l'ordre d'affichage des événements pour ton groupe :</td>
28 <form method="post" action="{$platal->ns}events">
29 <select name="order" onchange="this.form.submit()">
30 <option value="desc"{if $order eq 'desc'}selected="selected"{/if}>Anti-chronologique</option>
31 <option value="asc"{if $order eq 'asc'}selected="selected"{/if}>Chronologique</option>
36 <tr><td colspan=2 class='center'>Attention, ton choix s'appliquera à tous les utilisateurs !</td></tr>
42 <h1>{$asso->nom} : Événements</h1>
46 {if $archive}[<a href="{$platal->ns}events">Événements</a>] {else}Événements {/if}
47 {if $archive}Archives {else}[<a href="{$platal->ns}events/archive">Archives</a>] {/if}
52 La modification de l'inscription a été prise en compte !
53 {if $updated.topay > $updated.paid}
54 <br/>N'oublie pas de payer {math equation="a-b" a=$updated.topay b=$updated.paid} €
55 {if $updated.paid > 0}
56 (tu as déjà payé {$updated.paid|replace:'.':','} €)
58 {if $updated.paiement_id}
59 [<a href="{$platal->ns}payment/{$updated.paiement_id}?montant={math equation="a-b" a=$updated.topay b=$updated.paid}">
68 [<a href="{$platal->ns}events/edit">Annoncer un nouvel événement</a>]
73 {foreach from=$evenements item=e}
75 <table class="bicol" cellspacing="0" cellpadding="0">
80 <th colspan="2"{if !$e.inscr_open} class="grayed"{/if}>
81 <a href="{$platal->ns}events/ical/{$e.short_name|default:$e.eid}/{$e.short_name|default:$e.eid}.ics" style="display: block; float: left;">
82 {icon name=calendar_view_day title="Événement iCal"}
86 (<span class="error">Inscriptions closes</span>)
90 [<a href="{$platal->ns}events/edit/{$e.short_name|default:$e.eid}">
92 {icon name=date_edit title="Édition de l'événement"}</a>]
94 [<a href="javascript:$.dynPost('{$platal->pl_self()}?token={xsrf_token}',{if !$archive}'archive'{else}'unarchive'{/if},{$e.eid})">
97 {icon name=package_add title="Archivage"}</a>]
100 {icon name=package_delete title="Désarchivage"}</a>]
103 [<a href="javascript:$.dynPost('{$platal->ns}events?token={xsrf_token}','del',{$e.eid})"
104 onclick="return confirm('Supprimer l\'événement effacera la liste des inscrits et des paiements.\n Es-tu sûr de vouloir supprimer l\'événement ?')">
106 {icon name=delete title='Suppression'}</a>]
112 <td class="titre">Date :</td>
117 <td class="titre">Annonceur :</td>
118 <td>{profile user=$e.uid promo=true groupperms=false}</td>
121 {if $is_admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)}
123 <td class="titre">Informations :</td>
125 {if $is_admin || $e.show_participants}
126 <a href="{$platal->ns}events/admin/{$e.short_name|default:$e.eid}">
127 consulter la liste des participants
128 {icon name=group title="Liste des participants"}
131 {if $e.deadline_inscription && $e.inscr_open}
132 dernières inscriptions
133 le {$e.deadline_inscription|date_format:"%d %B %Y"}
141 État inscription :
143 <input type="hidden" name="evt_{counter}" value="{$e.eid}" />
148 <span class='error'>Non inscrit</span><br />
150 {foreach from=$e.moments item=m}
154 Tu as inscrit {$m.nb} personne{if $m.nb > 1}s{/if}
155 {/if} à <em>{$m.titre}</em>.<br />
161 {if $e.paid eq '0.00'}
162 Tu dois payer {$e.topay|replace:'.':','} €.
163 {elseif $e.paid < $e.topay}
164 Tu dois encore payer {math equation="a-b" a=$e.topay b=$e.paid|replace:'.':','} €
165 (tu as déjà payé {$e.paid|replace:'.':','} €).
167 Tu as déjà payé les {$e.paid|replace:'.':','} € de ton inscription.
169 {if $e.paiement_id && $e.paid < $e.topay}
170 [<a href="{$platal->ns}payment/{$e.paiement_id}?montant={math equation="a-b" a=$e.topay b=$e.paid}">
180 <td colspan='2' class='center'>
182 <a href='{$platal->ns}events/sub/{$e.short_name|default:$e.eid}'>
183 Gérer mon inscription et voir les détails de l'événement.
198 Aucun événement n'a été archivé par les animateurs du groupe.
200 Aucun événement n'a été référencé par les animateurs du groupe.
206 {if $undisplayed_events neq 0}
208 Il y a {$undisplayed_events} événement{if $undisplayed_events > 1}s non affichés car ils sont réservés
209 {else} non affiché car il est réservé{/if} aux membres de ce groupe.
215 En cliquant sur l'icône {icon name=calendar_view_day title="Événement iCal"} associée à un événement,
216 tu peux télécharger la version iCal de l'événement qui permet de l'ajouter dans ton agenda électronique.
220 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}