Update table list.
[platal.git] / templates / admin / logger-view.tpl
index ae9e58a..b488379 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2009 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2010 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
     </td>
     <td class="action">
       <a href="admin/logger/session/{$mysess.id}">session</a>
+      {if !$loguser || ($loguser neq $mysess.username) || $year || $month || $day}
       <a href="admin/logger/user/{$mysess.username}">user's log</a>
+      {/if}
     </td>
   </tr>
   {/foreach}