X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcarnet%2Fpanel.tpl;h=5f2bbdf53a0233bec3e8144301751b039b9bce3e;hb=2d1ed661965b2c6533a3a8839d14b9939cddb77e;hp=8add8b0c84212a3a8a594fcb5297b8c4d8801e41;hpb=684195f33b11e3067200dd3a9e14304bd7d04463;p=platal.git diff --git a/templates/carnet/panel.tpl b/templates/carnet/panel.tpl index 8add8b0..5f2bbdf 100644 --- a/templates/carnet/panel.tpl +++ b/templates/carnet/panel.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 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