Always sth in event list
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 16 Aug 2006 22:18:04 +0000 (22:18 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 16 Aug 2006 22:18:04 +0000 (22:18 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@814 839d8a87-29fc-0310-9880-83ba4fa771e5

templates/login.tpl

index 6e793e8..10f2646 100644 (file)
@@ -142,7 +142,13 @@ Bienvenue {$smarty.session.prenom}
         </a>
       </td>
     </tr>
+    {assign var="has_evts" value=true}
     {/iterate}
+    {if !$has_evts}
+    <tr>
+      <td class="half">Aucun article actuellement</td>
+    </tr>
+    {/if}
   </table>
 
   <p class="smaller">