mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 20:26:42 +00:00
Added a "today button" to the calendar (closes #2218)
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
### Calendar
|
### Calendar
|
||||||
|
|
||||||
- xxx
|
- Added a button to jump to today (between the prev/next buttons, top right corner)
|
||||||
|
|
||||||
### Tasks
|
### Tasks
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@ var calendar = $("#calendar").fullCalendar({
|
|||||||
"header": {
|
"header": {
|
||||||
"left": "month,agendaWeek,agendaDay,listWeek",
|
"left": "month,agendaWeek,agendaDay,listWeek",
|
||||||
"center": "title",
|
"center": "title",
|
||||||
"right": "prev,next"
|
"right": "prev,today,next"
|
||||||
},
|
},
|
||||||
"weekNumbers": Grocy.CalendarShowWeekNumbers,
|
"weekNumbers": Grocy.CalendarShowWeekNumbers,
|
||||||
"defaultView": ($(window).width() < 768) ? "agendaDay" : "month",
|
"defaultView": ($(window).width() < 768) ? "agendaDay" : "month",
|
||||||
|
Reference in New Issue
Block a user