X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fxnetevents%2Fadmin.tpl;h=377a5a6f3fe61464991f47b04fef93610d20cd99;hb=b00527ff4a4883f2bd8bdfcceb6d4123f19ef785;hp=ab83d43165ac0d261a1d54fac2ad11016d79da95;hpb=64087a3430249f84d999be01219697c925c5c7f7;p=platal.git
diff --git a/templates/xnetevents/admin.tpl b/templates/xnetevents/admin.tpl
index ab83d43..377a5a6 100644
--- a/templates/xnetevents/admin.tpl
+++ b/templates/xnetevents/admin.tpl
@@ -20,7 +20,7 @@
{* *}
{**************************************************************************}
-
+
{if $evt.titre || count($moments) eq 1}
@@ -83,19 +83,15 @@ Ils ont payé mais ont oublié de s'inscrire :
{iterate from=$oubliinscription item=m}
-
- {if !$m.prenom && !$m.nom}
- {$m.email}
- {else}
- {$m.prenom} {$m.nom}
- {/if}
+ login()}')"{/if}>
+ {profile user=$m.user link=false}
|
- {$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 +137,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 +194,7 @@ Ils ont payé mais ont oublié de s'inscrire :
{/foreach}
-{if $absents->total()}
+{if $absents|@count}
@@ -206,18 +202,18 @@ Ils ont payé mais ont oublié de s'inscrire :
{/if}