X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fsubscribe.tpl;h=7c19e95ab868ce4e8a2afc958426fde1ce0595d8;hb=d5500c1835d24bb13ed0493822f0c0e0a4bc66f8;hp=ad1803992470e999eff7988c101ca11e7e6e17d1;hpb=a7de4ef724d1a3b0bf978a50ce7cc9d23412c7a0;p=platal.git diff --git a/templates/xnetevents/subscribe.tpl b/templates/xnetevents/subscribe.tpl index ad18039..7c19e95 100644 --- a/templates/xnetevents/subscribe.tpl +++ b/templates/xnetevents/subscribe.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2007 Polytechnique.org *} +{* Copyright (C) 2003-2008 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,7 +20,7 @@ {* *} {**************************************************************************} -

{$asso.nom} : Evénement {$event.intitule}

+

{$asso.nom} : Evénement {$event.intitule}

[Revenir à la liste des événements] @@ -42,7 +42,7 @@ et a été proposé par - {$event.prenom} {$event.nom} ({$event.promo}) + {$event.prenom} {$event.nom} ({$event.promo}).

@@ -61,6 +61,7 @@ {/if}
+ {xsrf_token_field} {foreach from=$event.moments item=m} @@ -74,18 +75,18 @@ @@ -104,24 +105,30 @@
{$m.titre} ({$m.montant} €)
{if $event.inscr_open} - non + {if $event.noinvite} - oui + {else} - seul
- 1}checked="checked"{/if}/>avec +
+ personnes + value="{if $m.nb > 1}{math equation='x - 1' x=$m.nb}{else}1{/if}"/> {/if} {else} {if !$m.nb} @@ -93,7 +94,7 @@ {elseif $m.nb eq 1} Je viendrai{if !$event.noinvite} seul{/if}. {else} - Je viendrai avec {$m.nb} personne{if $m.nb > 2}s{/if} + Je viendrai avec {$m.nb} personne{if $m.nb > 2}s{/if}. {/if} {/if}
{if $event.topay} - +
{if !$event.paid} Tu dois payer {$event.topay|replace:'.':','} €. {elseif $event.paid < $event.topay} Tu dois encore payer {math equation="a-b" a=$event.topay b=$event.paid|replace:'.':','} € - (tu as déjà payé {$event.paid|replace:'.':','} €) + (tu as déjà payé {$event.paid|replace:'.':','} €). {else} Tu as déjà payé {$event.paid|replace:'.':','} € pour ton inscription. - {/if} + {/if} +
+
{if $event.paiement_id && $event.paid < $event.topay} - [ - Payer en ligne] + + {icon name=money} Payer en ligne + {elseif $validation && $event.paid < $event.topay} +
Le télépaiement pour cet événement est en instance de validation :
+ + {/if} - +
{else} Rien à payer {if $event.paid > 0} - (tu as déjà payé {$event.paid|replace:'.':','} €) + (tu as déjà payé {$event.paid|replace:'.':','} €). {/if}. {/if}