mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Make it configurable if calendars shows week numbers or not (closes #333)
This commit is contained in:
@@ -11,7 +11,7 @@ $("#calendar").fullCalendar({
|
||||
"center": "title",
|
||||
"right": "prev,next"
|
||||
},
|
||||
"weekNumbers": true,
|
||||
"weekNumbers": Grocy.CalendarShowWeekNumbers,
|
||||
"firstDay": firstDay,
|
||||
"eventLimit": true,
|
||||
"eventSources": fullcalendarEventSources
|
||||
|
@@ -84,7 +84,7 @@ Grocy.Components.DateTimePicker.Init = function()
|
||||
showToday: true,
|
||||
showClose: true
|
||||
},
|
||||
calendarWeeks: true,
|
||||
calendarWeeks: Grocy.CalendarShowWeekNumbers,
|
||||
maxDate: limitDate,
|
||||
locale: moment.locale(),
|
||||
defaultDate: startDate,
|
||||
|
Reference in New Issue
Block a user