X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fpromo.tpl;h=d95171d97e051871ab351866e8ebb9a707321dab;hb=5991ff1d920ff7503335d273f4c92054f9ba17d6;hp=44b4775d5f3d15fcc5bcb52ffc1f2e1b0512541b;hpb=2553b7686e0678b8e27858a7c377e73ecb410aec;p=platal.git diff --git a/templates/marketing/promo.tpl b/templates/marketing/promo.tpl index 44b4775..d95171d 100644 --- a/templates/marketing/promo.tpl +++ b/templates/marketing/promo.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 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 !