X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=962fdaa81fb2b80888faad67619dc9356927b5d6;hb=ddec95b35f5434c80ce715d76467a61715f7f88a;hp=4bff6895aeec723cf44d33f773ab135487e1ef3d;hpb=d0327f6de73e81c4bcc656471ca4161e4f1e1e1b;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 4bff689..962fdaa 100644 --- a/templates/xnetevents/index.tpl +++ b/templates/xnetevents/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,18 +20,36 @@ {* *} {**************************************************************************} +{if $is_admin} +
Choisis l'ordre d'affichage des événements pour ton groupe : | ++ + | +
Attention, ton choix s'appliquera à tous les utilisateurs ! |
- La modification de l'inscription a été prise en compte !
+ 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}
@@ -52,15 +70,14 @@
{/if}
{/if}
-{foreach from=$evenements item=e}
-
+{foreach from=$evenements key=eid item=e}
-
+
{icon name=calendar_view_day title="Ãvénement iCal"}
{$e.intitule}
@@ -69,11 +86,11 @@
{/if}
{if $is_admin}
- [ + [ modifier {icon name=date_edit title="Ãdition de l'événement"}] - [ + [ {if !$archive} archiver {icon name=package_add title="Archivage"}] @@ -82,8 +99,8 @@ {icon name=package_delete title="Désarchivage"}] {/if} - [ + [ supprimer {icon name=delete title='Suppression'}] {/if} @@ -91,26 +108,13 @@ | |||
---|---|---|---|
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 : | -- {$e.prenom} {$e.nom} ({$e.promo}) - | +Annonceur : | +{profile user=$e.uid promo=true groupperms=false} | Informations : |
{if $is_admin || $e.show_participants}
-
+
consulter la liste des participants
{icon name=group title="Liste des participants"}
@@ -133,37 +137,35 @@ |
- Ãtat inscription + Ãtat inscription : {if $e.inscr_open} - + {/if} |
{if !$e.inscrit}
Non inscrit {else} - {foreach from=$e.moments item=m} - {if !$m.nb} + {foreach from=$e.items key=item_id item=m} + {if !t($e.sub.$item_id) || !$e.sub.$item_id.nb} Tu ne viendras pas - {elseif $m.nb eq 1} - Tu viendras seul {else} - Tu viendras avec {$m.nb-1} personne{if $m.nb > 2}s{/if} - {/if} à {$m.titre} + Tu as inscrit {$e.sub.$item_id.nb} personne{if $e.sub.$item_id.nb > 1}s{/if} + {/if} à {$m.titre}. {/foreach} {/if} {if $e.topay} - {if !$e.paid} + {if $e.paid eq '0.00'} 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:'.':','} €) + (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} + {if t($e.paiement_id) && $e.paid < $e.topay} [ Payer en ligne] {/if} @@ -176,8 +178,8 @@
-
- gérer mon inscription
+
+ Gérer mon inscription et voir les détails de l'événement.
|
@@ -190,7 +192,6 @@
{foreachelse}
-
{if $archive} Aucun événement n'a été archivé par les animateurs du groupe. @@ -201,11 +202,18 @@ {/foreach} +{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 + 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: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *} |