{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2008 Polytechnique.org *}
+{* Copyright (C) 2003-2011 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-<h1>{$asso.nom} : Evénement {$event.intitule}</h1>
+<h1>{$asso->nom} : Evénement {$event.intitule}</h1>
<p>
[<a href="{$platal->ns}events">Revenir à la liste des événements</a>]
</p>
<p class='descr'>
- Cet événement a lieu
- <strong>
- {if $event.fin and $event.fin neq $event.debut}
- {if $event.debut_day eq $event.fin_day}
- le {$event.debut|date_format:"%d %B %Y"} de {$event.debut|date_format:"%H:%M"} à {$event.fin|date_format:"%H:%M"}
- {else}
- du {$event.debut|date_format:"%d %B %Y à %H:%M"}<br />
- au {$event.fin|date_format:"%d %B %Y à %H:%M"}
- {/if}
- {else}
- le {$event.debut|date_format:"%d %B %Y à %H:%M"}
- {/if}
- </strong>
- et a été proposé par
- <a href='https://www.polytechnique.org/profile/{$event.alias}' class='popup2'>
- {$event.prenom} {$event.nom} ({$event.promo}).
- </a>
+ {assign var=profile value=$event.organizer->profile()}
+ Cet événement a lieu <strong>{$event.date}</strong> et a été proposé par
+ <a href='https://www.polytechnique.org/profile/{$profile->hrpid}' class='popup2'>
+ {$event.organizer->fullName('promo')}
+ </a>.
</p>
<p class='descr'>
{if $admin || $event.show_participants}
<p class='descr'>
- Tu peux
+ Tu peux
<a href="{$platal->ns}events/admin/{$event.eid}">
consulter la liste des participants
{icon name=group title="Liste des participants"}</a>
<td>
{if $event.topay}
<div class="error">
- {if !$event.paid}
+ {if $event.paid eq 0}
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:'.':','} €).
- {else}
+ {else}
Tu as déjà payé {$event.paid|replace:'.':','} € pour ton inscription.
{/if}
</div>