X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fthis_week.tpl;h=efb2f1fef0283b8a8cf8823dc4e99589fd82634e;hb=3d964835e8ff04f0f86c80aea026b82896cb4a46;hp=deddacb2a3dd52d7d6bced3e9beb257a532526e4;hpb=f9bebf66a51f0920e55eb6d2c60c88e2eafbc598;p=platal.git diff --git a/templates/marketing/this_week.tpl b/templates/marketing/this_week.tpl index deddacb..efb2f1f 100644 --- a/templates/marketing/this_week.tpl +++ b/templates/marketing/this_week.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 *} @@ -24,7 +24,7 @@

Inscrits des 7 derniers jours

-{$ins->total()} Polytechniciens se sont inscrits ces 7 derniers jours ! +{$users|@count} Polytechniciens se sont inscrits ces 7 derniers jours !

@@ -38,18 +38,17 @@ Promo Nom -{iterate item=in from=$ins} +{foreach item=user from=$users} - {$in.date_ins|date_format:"%x %X"} + {$user->registration_date|date_format:"%x %X"} - {$in.promo} + {$user->promo()} - - {$in.nom} {$in.prenom} + {profile user=$user} -{/iterate} +{/foreach}