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="{rel}/{$platal->ns}events/edit">Annoncer un nouvel événement</a>]
31 {foreach from=$evenements item=e}
33 <table class="bicol" cellspacing="0" cellpadding="0" {popup caption=$e.intitule text=$e.descriptif}>
42 [<a href="{rel}/{$platal->ns}events/edit/{$e.eid}">
44 <img src="{rel}/images/profil.png" title="Edition de l'événement" alt="Edition" />
46
47 [<a href="javascript:dynpostkv('{rel}/{$platal->ns}events', 'del', {$e.eid})"
48 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 ?')">
50 <img src="{rel}/images/del.png" alt="Suppression de {$e.intitule}" title="Suppression" />
57 <td class="titre">date :</td>
59 {if $e.fin and $e.fin neq $e.debut}
60 {if $e.debut_day eq $e.fin_day}
61 le {$e.debut|date_format:"%d %B %Y"} de {$e.debut|date_format:"%H:%M"} à {$e.fin|date_format:"%H:%M"}
63 du {$e.debut|date_format:"%d %B %Y à %H:%M"}<br />
64 au {$e.fin|date_format:"%d %B %Y à %H:%M"}
67 le {$e.debut|date_format:"%d %B %Y à %H:%M"}
73 <td class="titre">annonceur :</td>
75 <a href='https://www.polytechnique.org/profile/{$e.alias}' class='popup2'>{$e.prenom} {$e.nom} ({$e.promo})</a>
80 <td class="titre">Informations :</td>
82 {if $admin || $e.show_participants}
83 <a href="{rel}/{$platal->ns}events/admin/{$e.eid}">
84 consulter la liste des participants
85 <img src="{rel}/images/loupe.gif" title="Liste des participants" alt="" />
88 {if $e.deadline_inscription}
90 dernières inscriptions
91 le {$e.deadline_inscription|date_format:"%d %B %Y"}
93 <span class='error'>Inscriptions closes.</span><br />
103 <input type="hidden" name="evt_{counter}" value="{$e.eid}" />
108 <span class='error'>Non inscrit</span><br />
110 {foreach from=$e.moments item=m}
116 Tu viendras avec {$m.nb} personne{if $m.nb > 2}s{/if}
117 {/if} à <em>{$m.titre}</em><br />
123 Tu dois payer {$e.topay|replace:'.':','} €
125 (tu as déjà payé {$e.paid|replace:'.':','} €)
128 [<a href="https://www.polytechnique.org/payment/{$e.paiement_id}?montant={$e.topay}}">
138 <td colspan='2' class='center'>
140 <a href='{rel}/{$platal->ns}events/sub/{$e.eid}'>
141 gérer mon inscription
155 Aucun événement n'a été référencé par les animateurs du groupe.
160 {* vim:set et sw=2 sts=2 sws=2: *}