Make it configurable if calendars shows week numbers or not (closes #333)

This commit is contained in:
Bernd Bestel
2019-09-18 18:30:25 +02:00
parent ca470ed4ee
commit ce12202c86
5 changed files with 7 additions and 2 deletions

View File

@@ -55,6 +55,7 @@
Grocy.Culture = '{{ GROCY_CULTURE }}';
Grocy.Currency = '{{ GROCY_CURRENCY }}';
Grocy.CalendarFirstDayOfWeek = '{{ GROCY_CALENDAR_FIRST_DAY_OF_WEEK }}';
Grocy.CalendarShowWeekNumbers = {{ BoolToString(GROCY_CALENDAR_SHOW_WEEK_OF_YEAR) }};
Grocy.GettextPo = {!! $GettextPo !!};
Grocy.UserSettings = {!! json_encode($userSettings) !!};
Grocy.FeatureFlags = {!! json_encode($featureFlags) !!};