X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fmarketing%2Fthis_week.tpl;h=b4393775c5b93a53aac7252c464532db58a738e3;hb=4fad11800bb571cc996ca8291adb617d5da42098;hp=946a8ce7f52da7ed2fcb3dd376a9f8591787b3be;hpb=dd9bac8f7903e9924525ad8db3e38650ff5ad1b6;p=platal.git diff --git a/templates/marketing/this_week.tpl b/templates/marketing/this_week.tpl index 946a8ce..b439377 100644 --- a/templates/marketing/this_week.tpl +++ b/templates/marketing/this_week.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 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}