X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=962fdaa81fb2b80888faad67619dc9356927b5d6;hb=ddec95b35f5434c80ce715d76467a61715f7f88a;hp=21940e7672935208d331613f484101f26add1267;hpb=46ca73eadbd598ee219bdc48724e14c8c08b40ef;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 21940e7..962fdaa 100644 --- a/templates/xnetevents/index.tpl +++ b/templates/xnetevents/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2011 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,6 +20,24 @@ {* *} {**************************************************************************} +{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

{else} @@ -29,7 +47,7 @@ {if $archive}Archives {else}[Archives] {/if} -{if $updated} +{if t($updated) && $updated}

La modification de l'inscription a été prise en compte ! {if $updated.topay > $updated.paid} @@ -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,7 +99,7 @@ {icon name=package_delete title="Désarchivage"}] {/if}   - [ supprimer {icon name=delete title='Suppression'}] @@ -105,7 +122,7 @@
Informations : {if $is_admin || $e.show_participants} - + consulter la liste des participants {icon name=group title="Liste des participants"}
@@ -122,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:'.':','} € @@ -150,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} @@ -163,7 +178,7 @@
- + Gérer mon inscription et voir les détails de l'événement. @@ -201,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: *}