X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=42aa6317615fb0c065a9720b6548cfa004e2e2f2;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=e10d20fbfdd857e3b1946ffe76c0fc00c5592483;hpb=a959b199b8f4790bf311c4e9c4b96b4ffb494eeb;p=platal.git
diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl
index e10d20f..42aa631 100644
--- a/templates/xnetevents/admin.tpl
+++ b/templates/xnetevents/admin.tpl
@@ -20,7 +20,7 @@
{* *}
{**************************************************************************}
-
+
{if $evt.titre || count($moments) eq 1}
@@ -87,15 +87,15 @@ Ils ont payé mais ont oublié de s'inscrire :
{iterate from=$oubliinscription item=m}
- {if $is_admin}{/if}
- {if $m.femme}•{/if}{if !$m.prenom && !$m.nom}{$m.email}{else}{$m.prenom} {$m.nom}{/if}
+ {if $is_admin}{/if}
+ {profile user=$m.user link=false}
{if $is_admin}{/if}
|
- {$m.promo} |
+ {$m.user->promo()} |
- {icon name=user_suit title="fiche"}
- {icon name=vcard title="vcard"}
- {icon name=email title="email"}
+ {icon name=user_suit title="fiche"}
+ {icon name=vcard title="vcard"}
+ {icon name=email title="email"}
|
{$m.montant} |
@@ -141,18 +141,18 @@ Ils ont payé mais ont oublié de s'inscrire :
{foreach from=$participants item=m}
- {if $is_admin}{/if}
- {if $m.femme}•{/if}{if !$m.prenom && !$m.nom}{$m.email}{else}{$m.prenom} {$m.nom}{/if}
+ {if $is_admin}{/if}
+ {profile user=$m.user promo=false link=false}
{if $is_admin}{/if}
|
- {$m.promo} |
+ {$m.user->promo()} |
- {if $m.x}
- {icon name=user_suit title="fiche"}
- {icon name=vcard title="vcard"}
- {icon name=email title="email"}
+ {if $m.user->hasProfile()}
+ {icon name=user_suit title="fiche"}
+ {icon name=vcard title="vcard"}
+ {icon name=email title="email"}
{else}
- {icon name=email title="email"}
+ {icon name=email title="email"}
{/if}
|
{if $tout}
@@ -198,7 +198,7 @@ Ils ont payé mais ont oublié de s'inscrire :
{/foreach}
-{if $absents->total()}
+{if $absents|@count}
@@ -206,18 +206,18 @@ Ils ont payé mais ont oublié de s'inscrire :
{/if}