X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fpromo.tpl;h=d95171d97e051871ab351866e8ebb9a707321dab;hb=5991ff1d920ff7503335d273f4c92054f9ba17d6;hp=5ba0dbe55e56f8fb49b896d085904110b9f29e67;hpb=d0edeb70f254ed642b59c7c3636b7802266bcfe4;p=platal.git diff --git a/templates/marketing/promo.tpl b/templates/marketing/promo.tpl index 5ba0dbe..d95171d 100644 --- a/templates/marketing/promo.tpl +++ b/templates/marketing/promo.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,15 +22,7 @@
- [<<] - [<] - -   - Promo : -   - - [>] - [>>] + Promo :
@@ -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 !