From 3328c789d41820edc1896312fdad4ebbbd1881f8 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sat, 12 Oct 2019 10:35:47 +0200 Subject: [PATCH] Fixed that the meal plan menu item was not visible when the calendar was disabled (through feature flags) (closes #415) --- changelog/55_UNRELEASED_2019-xx-xx.md | 3 +++ views/layout/default.blade.php | 2 ++ 2 files changed, 5 insertions(+) diff --git a/changelog/55_UNRELEASED_2019-xx-xx.md b/changelog/55_UNRELEASED_2019-xx-xx.md index af8b16fe..e3e04439 100644 --- a/changelog/55_UNRELEASED_2019-xx-xx.md +++ b/changelog/55_UNRELEASED_2019-xx-xx.md @@ -1,2 +1,5 @@ ### Calendar improvements - Improved that meal plan events in the iCal calendar export now contain a link to the appropriate meal plan week in the body of the event (thanks @kriddles) + +### General & other fixes +- Fixed that the meal plan menu entry (sidebar) was not visible when the calendar was disabled (`FEATURE_FLAG_CALENDAR`) (thanks @lwis) diff --git a/views/layout/default.blade.php b/views/layout/default.blade.php index e460cc5b..e42f5dd2 100644 --- a/views/layout/default.blade.php +++ b/views/layout/default.blade.php @@ -187,6 +187,8 @@ {{ $__t('Calendar') }} + @endif + @if(GROCY_FEATURE_FLAG_RECIPES)