X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fpromo.tpl;h=f8bb491fdd65f7d39c9155469cd1f98b49a207b4;hb=030d3055679833c59fa87a9f59ff909e5987372b;hp=a0f5e08f4bc7d8dc08bb9bc5b3be22b8a37ae73d;hpb=6bb2f79ab56e5e7610ba311bbc9d20b1a10cc91b;p=platal.git diff --git a/templates/marketing/promo.tpl b/templates/marketing/promo.tpl index a0f5e08..f8bb491 100644 --- a/templates/marketing/promo.tpl +++ b/templates/marketing/promo.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 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,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} - {elseif $it.email} - En cours : {$it.email} + {if $it->pendingRegistrationDate() > $it->lastMarketingDate()} + En cours : {$it->pendingRegistrationEmail()} + {elseif $it->lastMarketingDate() && $it->lastMarketingDate() != '0000-00-00'} + Relance le : {$it->lastMarketingDate()} {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 !