[AMOS commit] MDL-59392 calendar: Switch to templates in the cal block Committed into Git: 2017-09-01 06:58 UTC

[AMOS commit] MDL-59392 calendar: Switch to templates in the cal block Committed into Git: 2017-09-01 06:58 UTC

by AMOS bot -
Number of replies: 0
Author: Andrew Nicols
MDL-59392 calendar: Switch to templates in the cal block
This commit adds a set of templates for the calendar month block, and
the events filter. The same data exporters used in the main calendar
view are utilised and the same logic.

Some additional data was added to the exporters, and in the long term
this will be used in the main monthly view so I did not feel it was
prudent to strip it out into a different view of the model.

AMOS BEGIN
MOV [monthnext,access],[monthnext,calendar]
AMOS END


http://git.moodle.org/gw?p=moodle.git;a=commit;h=c8b6e9ab3461f9beb97c3c01036fcc3d2458583f
http://github.com/moodle/moodle/commit/c8b6e9ab3461f9beb97c3c01036fcc3d2458583f

+ 3.4 en [eventendtimewrapped,core_calendar]
+ 3.4 en [hidemoduleevents,core_calendar]
+ 3.4 en [eventtypeglobal,core_calendar]
+ 3.4 en [eventtypesite,core_calendar]
+ 3.4 en [eventtypecourse,core_calendar]
+ 3.4 en [eventtypemodule,core_calendar]
+ 3.4 en [eventtypegroup,core_calendar]
+ 3.4 en [eventtypeuser,core_calendar]
+ 3.4 en [hideeventtype,core_calendar]
+ 3.4 en [showeventtype,core_calendar]
+ 3.4 en [monthprev,core_calendar]
+ 3.4 en [namewithsource,core_calendar]
+ 3.4 en [todayplustitle,core_calendar]