From 4c5aa36a3244462f30d5f0b10ca322b09a39e43e Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Wed, 26 Mar 2008 00:22:32 +0100 Subject: [PATCH] Don't hide the rss link when no event is currently available. Signed-off-by: Florent Bruneau --- templates/events/index.tpl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/templates/events/index.tpl b/templates/events/index.tpl index 226a6a9..9ecbe18 100644 --- a/templates/events/index.tpl +++ b/templates/events/index.tpl @@ -131,7 +131,18 @@ Bienvenue {$smarty.session.prenom}{if $birthday} {/foreach} {if !$has_evts} - Aucun article actuellement + + {if $smarty.session.core_rss_hash} + + {icon name=feed title='fil rss'} + + {else} + + {icon name=feed_add title='Activer mon fil rss'} + + {/if} + Aucun article actuellement + {/if} -- 2.1.4