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 {**************************************************************************}
24 <h1>{$asso.nom} : Evénements</h1>
28 {if $archive}[<a href="{$platal->ns}events">Evénements</a>] {else}Evénements {/if}
29 {if $archive}Archives {else}[<a href="{$platal->ns}events/archive">Archives</a>] {/if}
33 [<a href="{$platal->ns}events/edit">Annoncer un nouvel événement</a>]
37 {foreach from=$evenements item=e}
39 <table class="bicol" cellspacing="0" cellpadding="0">
44 <th colspan="2"{if !$e.inscr_open} class="grayed"{/if}>
47 (<span class="error">Inscriptions closes</span>)
51 [<a href="{$platal->ns}events/edit/{$e.eid}">
53 {icon name=date_edit title="Edition de l'événement"}</a>]
55 [<a href="javascript:dynpostkv('{$platal->pl_self()}', {if !$archive}'archive'{else}'unarchive'{/if}, {$e.eid})">
58 {icon name=package_add title="Archivage"}</a>]
61 {icon name=package_delete title="Désarchivage"}</a>]
64 [<a href="javascript:dynpostkv('{$platal->ns}events', 'del', {$e.eid})"
65 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 ?')">
67 {icon name=delete title='Suppression'}</a>]
73 <td class="titre">date :</td>
75 {if $e.fin and $e.fin neq $e.debut}
76 {if $e.debut_day eq $e.fin_day}
77 le {$e.debut|date_format:"%d %B %Y"} de {$e.debut|date_format:"%H:%M"} à {$e.fin|date_format:"%H:%M"}
79 du {$e.debut|date_format:"%d %B %Y à %H:%M"}<br />
80 au {$e.fin|date_format:"%d %B %Y à %H:%M"}
83 le {$e.debut|date_format:"%d %B %Y à %H:%M"}
89 <td class="titre">annonceur :</td>
91 <a href='https://www.polytechnique.org/profile/{$e.alias}' class='popup2'>{$e.prenom} {$e.nom} ({$e.promo})</a>
95 {if $admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)}
97 <td class="titre">Informations :</td>
99 {if $admin || $e.show_participants}
100 <a href="{$platal->ns}events/admin/{$e.eid}">
101 consulter la liste des participants
102 {icon name=group title="Liste des participants"}
105 {if $e.deadline_inscription && $e.inscr_open}
106 dernières inscriptions
107 le {$e.deadline_inscription|date_format:"%d %B %Y"}
117 <input type="hidden" name="evt_{counter}" value="{$e.eid}" />
122 <span class='error'>Non inscrit</span><br />
124 {foreach from=$e.moments item=m}
130 Tu viendras avec {$m.nb} personne{if $m.nb > 2}s{/if}
131 {/if} à <em>{$m.titre}</em><br />
137 Tu dois payer {$e.topay|replace:'.':','} €
139 (tu as déjà payé {$e.paid|replace:'.':','} €)
142 [<a href="https://www.polytechnique.org/payment/{$e.paiement_id}?montant={$e.topay}}">
152 <td colspan='2' class='center'>
154 <a href='{$platal->ns}events/sub/{$e.eid}'>
155 gérer mon inscription
169 Aucun événement n'a été référencé par les animateurs du groupe.
174 {* vim:set et sw=2 sts=2 sws=2: *}