X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fpanel.tpl;h=db12e2289104970eb5ee1673e745acec2c2581f9;hb=4d9b63f8ec02d84eabd554234a32718758bf9e21;hp=167432f15931f0b28f016063fdfe68e47ddcc049;hpb=c12cc82e1d97b51e19b294942ea9450a34d929cd;p=platal.git diff --git a/templates/carnet/panel.tpl b/templates/carnet/panel.tpl index 167432f..db12e22 100644 --- a/templates/carnet/panel.tpl +++ b/templates/carnet/panel.tpl @@ -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 *} @@ -38,14 +38,19 @@ Il faut pour cela se rendre sur la page de configuration

-{if $smarty.session.token} -{icon name=feed title='fil rss'} +{if $smarty.session.user->token} +{icon name=feed title='fil rss'} {/if}
{foreach from=$notifs item=cat}
- {$cat.title} + + {if $cat.type eq 'birthday'}{icon name="cake"} + {elseif $cat.type eq 'death'}{icon name="star"} + {elseif $cat.type eq 'profile'}{icon name="user_suit"} + {elseif $cat.type eq 'registration'}{icon name="status_offline"}{/if} +  {$cat.title} {assign var=date value=false} {foreach from=$cat.users item=user} {assign var=userdate value=$cat.operation->getDate($user)} @@ -58,9 +63,9 @@ Il faut pour cela se rendre sur la page de configuration