X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=c23600b0fea4030509326c57caba3adddf68195a;hb=e72682520c087dd51ff8d1686da229ff5d2ecdbb;hp=77a5f19260189d3671b30799cf0c03017a707c7c;hpb=1f0d8e19212abcff82c4ea28908f632ec38131aa;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 77a5f19..c23600b 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,35 +20,72 @@ {* *} {**************************************************************************} -

{$asso.nom} : Evénements

+{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] + [Annoncer un nouvel événement]

{/if} +{/if} {foreach from=$evenements item=e} - +
- @@ -58,13 +95,13 @@ @@ -76,29 +113,27 @@ + {if $is_admin || $e.show_participants || ($e.deadline_inscription && $e.inscr_open)} + {/if} - {if (!$e.membres_only or $is_member or $e.inscrit) and $e.inscr_open} + {if $e.inscr_open} @@ -151,10 +190,22 @@ {foreachelse} +

- Aucun événement n'a été référencé par les animateurs du groupe. +{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} -{* vim:set et sw=2 sts=2 sws=2: *} +{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 enc=utf-8: *}
+ + + {icon name=calendar_view_day title="Evénement iCal"} + {$e.intitule} - {if $admin} + {if !$e.inscr_open} + (Inscriptions closes) + {/if} + {if $is_admin}
- [ + [ modifier - Edition - ] -      - [ + {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 - Suppression de {$e.intitule} - ] + {icon name=delete title='Suppression'}] {/if}
{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"} + 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"} + 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"} + le {$e.debut|date_format:"%d %B %Y à %H:%M"} {/if}
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}
- État inscription + État inscription {if $e.inscr_open} {/if} @@ -113,32 +148,36 @@ {elseif $m.nb eq 1} Tu viendras seul {else} - Tu viendras avec {$m.nb} personne{if $m.nb > 2}s{/if} - {/if} à {$m.titre}
+ Tu viendras avec {$m.nb-1} personne{if $m.nb > 2}s{/if} + {/if} à {$m.titre}
{/foreach} {/if} {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}
- - gérer mon inscription + + gérer mon inscription