X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fpromo.tpl;h=4f4379ffb71f3d26f3b44e4bc9f7fe3405eb7f94;hb=ca5367b747459b0984054e2f859ffdf69bbe803c;hp=5ba0dbe55e56f8fb49b896d085904110b9f29e67;hpb=ea74d2785d9c1ff5571ebf2f73c89cbf19c8dd07;p=platal.git diff --git a/templates/marketing/promo.tpl b/templates/marketing/promo.tpl index 5ba0dbe..4f4379f 100644 --- a/templates/marketing/promo.tpl +++ b/templates/marketing/promo.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2013 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} - {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 !