mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00:00
Fixed that the meal plan menu item was not visible when the calendar was disabled (through feature flags) (closes #415)
This commit is contained in:
parent
68dc1bc1f9
commit
3328c789d4
@ -1,2 +1,5 @@
|
|||||||
### Calendar improvements
|
### 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)
|
- 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)
|
||||||
|
@ -187,6 +187,8 @@
|
|||||||
<span class="nav-link-text">{{ $__t('Calendar') }}</span>
|
<span class="nav-link-text">{{ $__t('Calendar') }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@endif
|
||||||
|
@if(GROCY_FEATURE_FLAG_RECIPES)
|
||||||
<li class="nav-item" data-toggle="tooltip" data-placement="right" title="{{ $__t('Meal plan') }}" data-nav-for-page="mealplan">
|
<li class="nav-item" data-toggle="tooltip" data-placement="right" title="{{ $__t('Meal plan') }}" data-nav-for-page="mealplan">
|
||||||
<a class="nav-link discrete-link" href="{{ $U('/mealplan') }}">
|
<a class="nav-link discrete-link" href="{{ $U('/mealplan') }}">
|
||||||
<i class="fas fa-paper-plane"></i>
|
<i class="fas fa-paper-plane"></i>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user