1 {**************************************************************************}
3 {* Copyright (C) 2003-2009 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 <h1>{$asso.nom} : Événements</h1>
28 {if $archive}[<a href="{$platal->ns}events">Événements</a>] {else}Événements {/if}
29 {if $archive}Archives {else}[<a href="{$platal->ns}events/archive">Archives</a>] {/if}
34 La modification de l'inscription a été prise en compte !
35 {if $updated.topay > $updated.paid}
36 <br/>N'oublie pas de payer {math equation="a-b" a=$updated.topay b=$updated.paid} €
37 {if $updated.paid > 0}
38 (tu as déjà payé {$updated.paid|replace:'.':','} €)
40 {if $updated.paiement_id}
41 [<a href="{$platal->ns}payment/{$updated.paiement_id}?montant={math equation="a-b" a=$updated.topay b=$updated.paid}">
50 [<a href="{$platal->ns}events/edit">Annoncer un nouvel événement</a>]
55 {foreach from=$evenements item=e}
57 <table class="bicol" cellspacing="0" cellpadding="0">
62 <th colspan="2"{if !$e.inscr_open} class="grayed"{/if}>
63 <a href="{$platal->ns}events/ical/{$e.short_name|default:$e.eid}/{$e.short_name|default:$e.eid}.ics" style="display: block; float: left;">
64 {icon name=calendar_view_day title="Événement iCal"}
68 (<span class="error">Inscriptions closes</span>)
72 [<a href="{$platal->ns}events/edit/{$e.short_name|default:$e.eid}">
74 {icon name=date_edit title="Édition de l'événement"}</a>]
76 [<a href="javascript:dynpostkv('{$platal->pl_self()}?token={xsrf_token}', {if !$archive}'archive'{else}'unarchive'{/if}, {$e.eid})">
79 {icon name=package_add title="Archivage"}</a>]
82 {icon name=package_delete title="Désarchivage"}</a>]
85 [<a href="javascript:dynpostkv('{$platal->ns}events?token={xsrf_token}', 'del', {$e.eid})"
86 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 ?')">
88 {icon name=delete title='Suppression'}</a>]
94 <td class="titre">Date :</td>
99 <td class="titre">Annonceur :</td>
101 <a href='https://www.polytechnique.org/profile/{$e.alias}' class='popup2'>{$e.prenom} {$e.nom} ({$e.promo})</a>
105 {if $is_admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)}
107 <td class="titre">Informations :</td>
109 {if $is_admin || $e.show_participants}
110 <a href="{$platal->ns}events/admin/{$e.short_name|default:$e.eid}">
111 consulter la liste des participants
112 {icon name=group title="Liste des participants"}
115 {if $e.deadline_inscription && $e.inscr_open}
116 dernières inscriptions
117 le {$e.deadline_inscription|date_format:"%d %B %Y"}
125 État inscription :
127 <input type="hidden" name="evt_{counter}" value="{$e.eid}" />
132 <span class='error'>Non inscrit</span><br />
134 {foreach from=$e.moments item=m}
140 Tu viendras avec {$m.nb-1} personne{if $m.nb > 2}s{/if}
141 {/if} à <em>{$m.titre}</em>.<br />
148 Tu dois payer {$e.topay|replace:'.':','} €.
149 {elseif $e.paid < $e.topay}
150 Tu dois encore payer {math equation="a-b" a=$e.topay b=$e.paid|replace:'.':','} €
151 (tu as déjà payé {$e.paid|replace:'.':','} €).
153 Tu as déjà payé les {$e.paid|replace:'.':','} € de ton inscription.
155 {if $e.paiement_id && $e.paid < $e.topay}
156 [<a href="{$platal->ns}payment/{$e.paiement_id}?montant={math equation="a-b" a=$e.topay b=$e.paid}">
166 <td colspan='2' class='center'>
168 <a href='{$platal->ns}events/sub/{$e.short_name|default:$e.eid}'>
169 Gérer mon inscription et voir les détails de l'événement.
184 Aucun événement n'a été archivé par les animateurs du groupe.
186 Aucun événement n'a été référencé par les animateurs du groupe.
192 {if $undisplayed_events neq 0}
194 Il y a {$undisplayed_events} événement{if $undisplayed_events > 1}s non affichés car ils sont réservés
195 {else} non affiché car il est réservé{/if} aux membres de ce groupe.
201 En cliquant sur l'icône {icon name=calendar_view_day title="Événement iCal"} associée à un événement,
202 tu peux télécharger la version iCal de l'événement qui permet de l'ajouter dans ton agenda électronique.
206 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}