X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fthis_week.tpl;h=da03dfcc3e120cd14be9cd217302a59eb96eda6d;hb=a6dcf7ed6e2ca2c8f39eda6008c24b9ecd0da3bd;hp=deddacb2a3dd52d7d6bced3e9beb257a532526e4;hpb=be638e733bce413df4324d985297d9a4d94dcbca;p=platal.git diff --git a/templates/marketing/this_week.tpl b/templates/marketing/this_week.tpl index deddacb..da03dfc 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-2014 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}
@@ -58,4 +57,4 @@
-{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} +{* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}