X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fthis_week.tpl;h=b4393775c5b93a53aac7252c464532db58a738e3;hb=4fad11800bb571cc996ca8291adb617d5da42098;hp=659c35588b3cd92af7f58101d83a44e54ac9926d;hpb=9e1816c7666767755abbc24f6a0df290efff81b6;p=platal.git diff --git a/templates/marketing/this_week.tpl b/templates/marketing/this_week.tpl index 659c355..b439377 100644 --- a/templates/marketing/this_week.tpl +++ b/templates/marketing/this_week.tpl @@ -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}