From 26607d4a275c6f2973287836439f5e9b805511d1 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Thu, 6 Sep 2018 14:40:34 +0200 Subject: [PATCH] Frio - bugfix - don't show new event button if the button isn't available --- view/theme/frio/templates/events_js.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/theme/frio/templates/events_js.tpl b/view/theme/frio/templates/events_js.tpl index 31debbe310..a4ca9004cd 100644 --- a/view/theme/frio/templates/events_js.tpl +++ b/view/theme/frio/templates/events_js.tpl @@ -3,11 +3,13 @@ {{include file="section_title.tpl" title=$title pullright=1}} {{* The link to create a new event *}} + {{if $new_event.0}} + {{/if}} {{* We create our own fullcallendar header (with title & calendar view *}}
-- 2.39.5