X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fpromo.tpl;h=d95171d97e051871ab351866e8ebb9a707321dab;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=5bf903afa1d214d8052ecad3a384210ff2b3aa0a;hpb=a959b199b8f4790bf311c4e9c4b96b4ffb494eeb;p=platal.git diff --git a/templates/marketing/promo.tpl b/templates/marketing/promo.tpl index 5bf903a..d95171d 100644 --- a/templates/marketing/promo.tpl +++ b/templates/marketing/promo.tpl @@ -22,15 +22,7 @@
- [<<] - [<] - -   - Promo : -   - - [>] - [>>] + Promo :
@@ -52,30 +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 !