1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 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 {**************************************************************************}
23 <h1>{$asso.nom} : Evénements</h1>
27 [<a href="{$platal->ns}events/edit">Annoncer un nouvel événement</a>]
31 {foreach from=$evenements item=e}
33 <table class="bicol" cellspacing="0" cellpadding="0">
42 [<a href="{$platal->ns}events/edit/{$e.eid}">
44 {icon name=date_edit title="Edition de l'événement"}</a>]
45
46 [<a href="javascript:dynpostkv('{$platal->ns}events', 'del', {$e.eid})"
47 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 ?')">
49 {icon name=delete title='Suppression'}</a>]
55 <td class="titre">date :</td>
57 {if $e.fin and $e.fin neq $e.debut}
58 {if $e.debut_day eq $e.fin_day}
59 le {$e.debut|date_format:"%d %B %Y"} de {$e.debut|date_format:"%H:%M"} à {$e.fin|date_format:"%H:%M"}
61 du {$e.debut|date_format:"%d %B %Y à %H:%M"}<br />
62 au {$e.fin|date_format:"%d %B %Y à %H:%M"}
65 le {$e.debut|date_format:"%d %B %Y à %H:%M"}
71 <td class="titre">annonceur :</td>
73 <a href='https://www.polytechnique.org/profile/{$e.alias}' class='popup2'>{$e.prenom} {$e.nom} ({$e.promo})</a>
78 <td class="titre">Informations :</td>
80 {if $admin || $e.show_participants}
81 <a href="{$platal->ns}events/admin/{$e.eid}">
82 consulter la liste des participants
83 {icon name=group title="Liste des participants"}
86 {if $e.deadline_inscription}
88 dernières inscriptions
89 le {$e.deadline_inscription|date_format:"%d %B %Y"}
91 <span class='error'>Inscriptions closes.</span><br />
101 <input type="hidden" name="evt_{counter}" value="{$e.eid}" />
106 <span class='error'>Non inscrit</span><br />
108 {foreach from=$e.moments item=m}
114 Tu viendras avec {$m.nb} personne{if $m.nb > 2}s{/if}
115 {/if} à <em>{$m.titre}</em><br />
121 Tu dois payer {$e.topay|replace:'.':','} €
123 (tu as déjà payé {$e.paid|replace:'.':','} €)
126 [<a href="https://www.polytechnique.org/payment/{$e.paiement_id}?montant={$e.topay}}">
136 <td colspan='2' class='center'>
138 <a href='{$platal->ns}events/sub/{$e.eid}'>
139 gérer mon inscription
153 Aucun événement n'a été référencé par les animateurs du groupe.
158 {* vim:set et sw=2 sts=2 sws=2: *}