X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=962fdaa81fb2b80888faad67619dc9356927b5d6;hb=c860774b1a6705e4e065d072deeef18dcac7d404;hp=833db762a24d124fdce39161660e492b66d00920;hpb=2d394628dc35b7da99a73128df15ad980e69197c;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 833db76..962fdaa 100644 --- a/templates/xnetevents/index.tpl +++ b/templates/xnetevents/index.tpl @@ -47,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} @@ -70,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}
@@ -87,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"}] @@ -100,7 +99,7 @@ {icon name=package_delete title="Désarchivage"}] {/if} - [ supprimer {icon name=delete title='Suppression'}] @@ -123,7 +122,7 @@ | Informations : |
{if $is_admin || $e.show_participants}
-
+
consulter la liste des participants
{icon name=group title="Liste des participants"}
@@ -140,18 +139,18 @@ | Ã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 {else} - Tu as inscrit {$m.nb} personne{if $m.nb > 1}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} @@ -166,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} @@ -179,7 +178,7 @@ | |
---|---|---|---|---|---|
- + Gérer mon inscription et voir les détails de l'événement. |