X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=962fdaa81fb2b80888faad67619dc9356927b5d6;hb=ddec95b35f5434c80ce715d76467a61715f7f88a;hp=d090d5c4157f0beebc91a4e66252c7ee1354f712;hpb=7f12e3b4113791f3372f11572a205925d7bb6b97;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index d090d5c..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 !
+
+{/if} + {if !$is_admin} -

{$asso.nom} : Événements

+

{$asso->nom} : Événements

{else}

- {$asso.nom} : + {$asso->nom} : {if $archive}[Événements] {else}Événements {/if} {if $archive}Archives {else}[Archives] {/if}

-{if $updated} +{if t($updated) && $updated}

- 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} - + - + {if $is_admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)} @@ -118,7 +122,7 @@ @@ -214,4 +216,4 @@

{/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: *}
- + {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} @@ -92,25 +109,12 @@
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} -
{$e.date}
Annonceur : - {$e.prenom} {$e.nom} ({$e.promo}) - {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"}
@@ -135,27 +139,25 @@
É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} + 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:'.':','} € @@ -163,7 +165,7 @@ {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.