X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=962fdaa81fb2b80888faad67619dc9356927b5d6;hb=c860774b1a6705e4e065d072deeef18dcac7d404;hp=95d5abd0f9001634c3c6747a48d11b71e4bb3666;hpb=5b516e6be17378ace0e375b9da14a46051bf0f4e;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 95d5abd..962fdaa 100644 --- a/templates/xnetevents/index.tpl +++ b/templates/xnetevents/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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

{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)} @@ -105,7 +122,7 @@ @@ -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: *}
- + {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} @@ -97,7 +114,7 @@
Annonceur :{profile user=$e.organisateur_uid promo=true groupperms=false}{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"}
@@ -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,8 +178,8 @@
- - gérer mon inscription + + Gérer mon inscription et voir les détails de l'événement.