mirror of
https://github.com/grocy/grocy.git
synced 2026-03-27 23:29:25 +01:00
Added a "today button" to the calendar (closes #2218)
This commit is contained in:
parent
48564b5286
commit
b5d3e68d68
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user