X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fpromo.tpl;h=a78da79a0d448a8f129d474f515c374930e91744;hb=5b2c99878fc75a6acffb2239e284f2cb1782142c;hp=44b4775d5f3d15fcc5bcb52ffc1f2e1b0512541b;hpb=8d84c630f353ef0534e02325507ed35cc2f0d28f;p=platal.git
diff --git a/templates/marketing/promo.tpl b/templates/marketing/promo.tpl
index 44b4775..a78da79 100644
--- a/templates/marketing/promo.tpl
+++ b/templates/marketing/promo.tpl
@@ -22,15 +22,7 @@
@@ -52,31 +44,30 @@
Statut |
|
- {iterate from=$nonins item=it}
+ {foreach from=$nonins item=it}
- {$it.nom} {$it.prenom} |
- {if $it.last_known_email}{mailto address=$it.last_known_email}{/if} |
+ {profile user=$it} |
+ {if $it->lastKnownEmail()}{mailto address=$it->lastKnownEmail()}{/if} |
- {if $it.dern_rel && $it.dern_rel != '0000-00-00'}
- Relance le : {$it.dern_rel}
+ {if $it->lastMarketingRelance() && $it->lastMarketingRelance() != '0000-00-00'}
+ Relance le : {$it->lastMarketingRelance()}
{elseif $it.email}
- En cours : {$it.email}
+ En cours : {$it->lastKnownEmail()}
{else}
-
{/if}
|
- {icon name=wrench title="Marketing"}
- {*
- *}{icon name=user_gray title="fiche AX"}
+ {icon name=wrench title="Marketing"}
+ {icon name=user_gray title="fiche AX"}
|
- {/iterate}
+ {/foreach}
-{$nonins->total()} Polytechniciens de la promo {$promo} ne sont pas inscrits !
+{$nonins|@count} Polytechniciens de la promo {$promo} ne sont pas inscrits !