Commit graph

18 commits

Author SHA1 Message Date
Mark Nelson 36d178bda3 Add ability to specify the current date for date related elements (#289) 2019-06-17 13:33:16 +08:00
Mark Nelson 7756d928ac String improvements for date range element
Also added a help button to reduce the wall
of text.
2019-06-17 12:41:02 +08:00
Mark Nelson 7611196fa3 Fixed PHPDoc reference to edit_element_form 2019-06-17 12:14:26 +08:00
Mark Nelson 68838944fa Use negative numbers for constants in date range element
The reason being that we may have a module that has
an id matching one of these values.
2019-06-17 11:29:06 +08:00
Mark Nelson 38def6bfb4 Fix complaints found by local_moodlecheck 2019-05-29 00:12:10 +08:00
Dmitrii Metelkin 1fbf233111 Use repeat form element for date ranges (#185) 2019-05-25 15:01:26 +08:00
Dmitrii Metelkin 3450388a36 Remove empty line (#185) 2019-05-25 15:01:13 +08:00
Dmitrii Metelkin 5b44544e74 Add new placeholders and update help description (#185) 2019-05-25 15:01:02 +08:00
Dmitrii Metelkin 597659e23e Rename first_year and last_year placeholders (#185) 2019-05-25 15:00:49 +08:00
Dmitrii Metelkin 6e091e9fd6 Improve the logic of recurring ranges (#185) 2019-05-25 15:00:19 +08:00
Dmitrii Metelkin 4ac9615514 Recursively check recurring date ranges (#185) 2019-05-25 15:00:12 +08:00
Dmitrii Metelkin a7441e8b1b Be more strict about 12 months limit (#185) 2019-05-25 14:59:48 +08:00
Dmitrii Metelkin fbe8024438 Modify recurring dateranges (#185) 2019-05-25 14:59:23 +08:00
Dmitrii Metelkin 4e30f1e851 Add range related placeholders (#185) 2019-05-25 14:59:15 +08:00
Dmitrii Metelkin 19d0bf5dc8 Change a way of displaying date ranges on the edit element page (#185) 2019-05-25 14:58:52 +08:00
Dmitrii Metelkin b26e8c92b9 Add recurring option to dateranges (#185) 2019-05-25 14:58:41 +08:00
Dmitrii Metelkin b6ce73637c Use element name in the preview mode (#185) 2019-05-25 14:58:31 +08:00
Dmitrii Metelkin 7436054c17 Add date range element (#185) 2019-05-25 14:58:13 +08:00