X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Findex.tpl;h=aed7bd29df35ed9c536a3c5e99bd677dd42900ef;hb=06db561e25dcd609e824d1461fd2814d1e46d807;hp=98367e45c22b4f1183d44996c1cf6f04644dd68a;hpb=2b9e5fd3ab5177166d3a77a7f5acc87b14fb3aa9;p=platal.git diff --git a/templates/xnetevents/index.tpl b/templates/xnetevents/index.tpl index 98367e4..aed7bd2 100644 --- a/templates/xnetevents/index.tpl +++ b/templates/xnetevents/index.tpl @@ -20,35 +20,72 @@ {* *} {**************************************************************************} +{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} - +
- @@ -72,29 +109,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}
+ + + {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 - ] -      - [] +   + [ + {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}
annonceur : - {$e.prenom} {$e.nom} ({$e.promo}) + {$e.prenom} {$e.nom} ({$e.promo})
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}
@@ -120,24 +155,28 @@ {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é {$e.paid|replace:'.':','} € pour ton inscription. + {/if} + {if $e.paiement_id && $e.paid < $e.topay} + [ Payer en ligne] - {/if} + {/if} {/if}
- + gérer mon inscription @@ -151,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: *}