Explicit variable names in notifs.tpl
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 4 Nov 2012 22:55:16 +0000 (23:55 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 10 Nov 2012 16:04:44 +0000 (17:04 +0100)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
templates/carnet/notifs.tpl

index 86e19b9..12a84e5 100644 (file)
@@ -164,10 +164,10 @@ et cliquer sur les icones {icon name=add} pour les ajouter à cette liste.
     {else}
     Tu surveilles {if $nonins|@count eq 1}le non-inscrit{else}les non-inscrits{/if}&nbsp;:
     <ul>
-    {foreach from=$nonins item=p}
+    {foreach from=$nonins item=u}
     <li>
-      {profile user=$p promo=true sex=true}
-      <a href="carnet/notifs/del_nonins/{$p->login()}?token={xsrf_token}">{icon name='cross' title='retirer'}</a>
+      {profile user=$u promo=true sex=true}
+      <a href="carnet/notifs/del_nonins/{$u->login()}?token={xsrf_token}">{icon name='cross' title='retirer'}</a>
     </li>
     {/foreach}
   </ul>