X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=94478476d6a78a664d8b872e89a9a7e27d269192;hb=2ca5f0311c9b28e96bf3372435f8f82ae5dbe61f;hp=54187c9d8c2d3c3a43cacdb944a99ed995e58f43;hpb=f02eefd4d0eabc353e9020150c4692b70450c54e;p=platal.git
diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl
index 54187c9..9447847 100644
--- a/templates/xnetevents/index.tpl
+++ b/templates/xnetevents/index.tpl
@@ -1,6 +1,6 @@
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@ -20,19 +20,37 @@
{* *}
{**************************************************************************}
-{if !$admin}
-
{$asso.nom} : Evénements
+{if !$is_admin}
+{$asso->nom} : Ãvénements
{else}
- {$asso.nom} :
- {if $archive}[Evénements] {else}Evénements {/if}
+ {$asso->nom} :
+ {if $archive}[Ãvénements] {else}Ãvénements {/if}
{if $archive}Archives {else}[Archives] {/if}
+{if $updated}
+
+ La modification de l'inscription a été prise en compte !
+ {if $updated.topay > $updated.paid}
+
N'oublie pas de payer {math equation="a-b" a=$updated.topay b=$updated.paid} €
+ {if $updated.paid > 0}
+ (tu as déjà payé {$updated.paid|replace:'.':','} €)
+ {/if}
+ {if $updated.paiement_id}
+ [
+ Payer en ligne]
+ {/if}
+ {/if}
+
+{/if}
+
+{if !$archive}
- [Annoncer un nouvel événement]
+ [Annoncer un nouvel événement]
{/if}
+{/if}
{foreach from=$evenements item=e}
@@ -42,27 +60,30 @@
+
+ {icon name=calendar_view_day title="Ãvénement iCal"}
+
{$e.intitule}
{if !$e.inscr_open}
(Inscriptions closes)
{/if}
- {if $admin}
+ {if $is_admin}
- [
+ [
modifier
- {icon name=date_edit title="Edition de l'événement"}]
+ {icon name=date_edit title="Ãdition de l'événement"}]
- [
+ [
{if !$archive}
archiver
{icon name=package_add title="Archivage"}]
{else}
- désarchiver
- {icon name=package_delete title="Désarchivage"}]
+ désarchiver
+ {icon name=package_delete title="Désarchivage"}]
{/if}
- [
+ [
supprimer
{icon name=delete title='Suppression'}]
{/if}
@@ -70,40 +91,27 @@
|
- date : |
-
- {if $e.fin and $e.fin neq $e.debut}
- {if $e.debut_day eq $e.fin_day}
- le {$e.debut|date_format:"%d %B %Y"} de {$e.debut|date_format:"%H:%M"} à {$e.fin|date_format:"%H:%M"}
- {else}
- du {$e.debut|date_format:"%d %B %Y à %H:%M"}
- au {$e.fin|date_format:"%d %B %Y à %H:%M"}
- {/if}
- {else}
- le {$e.debut|date_format:"%d %B %Y à %H:%M"}
- {/if}
- |
+ Date : |
+ {$e.date} |
- annonceur : |
-
-
- |
+ Annonceur : |
+ {profile user=$e.uid promo=true groupperms=false} |
- {if $admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)}
+ {if $is_admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)}
- Informations : |
+ Informations : |
- {if $admin || $e.show_participants}
-
+ {if $is_admin || $e.show_participants}
+
consulter la liste des participants
{icon name=group title="Liste des participants"}
{/if}
{if $e.deadline_inscription && $e.inscr_open}
- dernières inscriptions
+ dernières inscriptions
le {$e.deadline_inscription|date_format:"%d %B %Y"}
{/if}
|
@@ -112,7 +120,7 @@
- État inscription
+ Ãtat inscription :
{if $e.inscr_open}
{/if}
@@ -127,21 +135,25 @@
{elseif $m.nb eq 1}
Tu viendras seul
{else}
- Tu viendras avec {$m.nb} personne{if $m.nb > 2}s{/if}
- {/if} à {$m.titre}
+ Tu viendras avec {$m.nb-1} personne{if $m.nb > 2}s{/if}
+ {/if} Ã {$m.titre}.
{/foreach}
{/if}
{if $e.topay}
- Tu dois payer {$e.topay|replace:'.':','} €
- {if $e.paid > 0}
- (tu as déjà payé {$e.paid|replace:'.':','} €)
- {/if}
- {if $e.paiement_id}
- [
+ {if !$e.paid}
+ Tu dois payer {$e.topay|replace:'.':','} €.
+ {elseif $e.paid < $e.topay}
+ Tu dois encore payer {math equation="a-b" a=$e.topay b=$e.paid|replace:'.':','} €
+ (tu as déjà payé {$e.paid|replace:'.':','} €).
+ {else}
+ Tu as déjà payé les {$e.paid|replace:'.':','} € de ton inscription.
+ {/if}
+ {if $e.paiement_id && $e.paid < $e.topay}
+ [
Payer en ligne]
- {/if}
+ {/if}
{/if}
|
@@ -151,8 +163,8 @@
-
- gérer mon inscription
+
+ Gérer mon inscription et voir les détails de l'événement.
|
@@ -166,9 +178,27 @@
{foreachelse}
- Aucun événement n'a été référencé par les animateurs du groupe.
+{if $archive}
+ Aucun événement n'a été archivé par les animateurs du groupe.
+{else}
+ Aucun événement n'a été référencé par les animateurs du groupe.
+{/if}
{/foreach}
-{* vim:set et sw=2 sts=2 sws=2: *}
+{if $undisplayed_events neq 0}
+
+ Il y a {$undisplayed_events} événement{if $undisplayed_events > 1}s non affichés car ils sont réservés
+ {else} non affiché car il est réservé{/if} aux membres de ce groupe.
+
+{/if}
+
+{if $evenements}
+
+ En cliquant sur l'icône {icon name=calendar_view_day title="Ãvénement iCal"} associée à un événement,
+ tu peux télécharger la version iCal de l'événement qui permet de l'ajouter dans ton agenda électronique.
+
+{/if}
+
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}