From: rabuzarus Date: Thu, 6 Sep 2018 12:40:34 +0000 (+0200) Subject: Frio - bugfix - don't show new event button if the button isn't available X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=26607d4a275c6f2973287836439f5e9b805511d1;p=friendica.git Frio - bugfix - don't show new event button if the button isn't available --- 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 *}}