X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=cfe5e190d0ba7cdce227ff72f73eda1867bab3a5;hb=5ddeb07cc787dd1dc3630a31f1528f5cc7c4d9b9;hp=6e2339b9f8b3fadc1f33898a0d761e16e676dbee;hpb=25edb44212930bf2723591a83f88e18ecc40fddf;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 6e2339b..cfe5e19 100644 --- a/templates/xnetevents/index.tpl +++ b/templates/xnetevents/index.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2007 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,13 +20,37 @@ {* *} {**************************************************************************} +{if !$is_admin}

{$asso.nom} : Evénements

+{else} +

+ {$asso.nom} : + {if $archive}[Evénements] {else}Evénements {/if} + {if $archive}Archives {else}[Archives] {/if} +

+ +{if $updated} +

+ 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} + (tu as déjà payé {$updated.paid|replace:'.':','} €) + {/if} + {if $updated.paiement_id} + [ + Payer en ligne] + {/if} + {/if} +

+{/if} -{if $admin} +{if !$archive}

[Annoncer un nouvel événement]

{/if} +{/if} {foreach from=$evenements item=e} @@ -35,14 +59,29 @@ - + + + {icon name=calendar_view_day title="Evénement iCal"} + {$e.intitule} - {if $admin} + {if !$e.inscr_open} + (Inscriptions closes) + {/if} + {if $is_admin}
- [ + [ modifier {icon name=date_edit title="Edition de l'événement"}] -      +   + [ + {if !$archive} + archiver + {icon name=package_add title="Archivage"}] + {else} + désarchiver + {icon name=package_delete title="Désarchivage"}] + {/if} +   [ supprimer @@ -74,25 +113,23 @@ + {if $is_admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)} Informations : - {if $admin || $e.show_participants} - + {if $is_admin || $e.show_participants} + consulter la liste des participants {icon name=group title="Liste des participants"}
{/if} - {if $e.deadline_inscription} - {if $e.inscr_open} - dernières inscriptions - le {$e.deadline_inscription|date_format:"%d %B %Y"} - {else} - Inscriptions closes.
- {/if} + {if $e.deadline_inscription && $e.inscr_open} + dernières inscriptions + le {$e.deadline_inscription|date_format:"%d %B %Y"} {/if} + {/if} @@ -118,14 +155,18 @@ {if $e.topay} - Tu dois payer {$e.topay|replace:'.':','} € - {if $e.paid > 0} - (tu as déjà payé {$e.paid|replace:'.':','} €) - {/if} - {if $e.paiement_id} - [ + {if !$e.paid} + 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:'.':','} €) + {else} + Tu as déjà payé les {$e.paid|replace:'.':','} € de ton inscription. + {/if} + {if $e.paiement_id && $e.paid < $e.topay} + [ Payer en ligne] - {/if} + {/if} {/if} @@ -135,7 +176,7 @@ - + gérer mon inscription @@ -149,10 +190,22 @@ {foreachelse} +

+{if $archive} + Aucun événement n'a été archivé par les animateurs du groupe. +{else} Aucun événement n'a été référencé par les animateurs du groupe. +{/if}

{/foreach} +{if $evenements} +

+ En cliquant sur l'icône {icon name=calendar_view_day title="Evé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: *}