Fix highlighting of carnet events in carnet/panel. (Closes #1109)
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 23 Jun 2010 14:39:10 +0000 (16:39 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 23 Jun 2010 14:39:10 +0000 (16:39 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
templates/carnet/panel.tpl

index 680db95..eed3763 100644 (file)
@@ -63,9 +63,9 @@ Il faut pour cela se rendre sur la page de <a href='carnet/notifs'>configuration
     <ul>
     {/if}
     <li>
-      {if $cat.operation->seen($user,$smarty.session.watch_last)}<strong>{/if}
+      {if $cat.operation->seen($user,$smarty.session.user->watch_last)}<strong>{/if}
       {profile user=$user promo=true}
-      {if $cat.operation->seen($user,$smarty.session.watch_last)}</strong>{/if}
+      {if $cat.operation->seen($user,$smarty.session.user->watch_last)}</strong>{/if}
       {assign var=data value=$cat.operation->getData($user)}
       {if $data}
       <ul>