moodle/course/templates
Jun Pataleta 13f88df351 MDL-70821 course: Cover availability conditions for manual completion
When an activity has manual completion tracking, pressing the manual
completion checkbox reloads the page after toggling the completion
state when the activity is linked to availability conditions.
The "Mark as done" button needs to mimic this behaviour as well.

The approach being taken here is to add a core_course/view JS module
for the course homepage which listens for the manualCompletionToggled
event and reloads the page when the activity module has availability
conditions tied to it.

Perhaps for future development, instead of reloading the page, the
container of the restricted course sections/activities can reloaded via
AJAX as well.
2021-04-12 11:41:37 +08:00
..
local MDL-70821 course: Render activity information output component in course 2021-04-12 11:40:54 +08:00
activity_date.mustache MDL-70817 core_course: Create an activity information output component 2021-04-02 21:53:20 +08:00
activity_info.mustache MDL-70817 core_course: Create an activity information output component 2021-04-02 21:53:20 +08:00
activity_list.mustache MDL-67587 course: Add search in recommended activities admin page 2020-04-09 09:17:53 +08:00
activity_navigation.mustache MDL-68299 theme_boost: theme updates for accessible zoom 2020-05-19 10:13:20 +02:00
activitychooser.mustache Merge branch 'MDL-68919-master' of git://github.com/bmbrands/moodle 2020-06-09 08:36:06 +08:00
activityinstance.mustache MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-17 08:16:42 +00:00
bulkactivitycompletion.mustache MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-17 08:16:42 +00:00
completion_automatic.mustache MDL-70817 core_course: Create an activity information output component 2021-04-02 21:53:20 +08:00
completion_manual.mustache MDL-70821 course: Cover availability conditions for manual completion 2021-04-12 11:41:37 +08:00
course_search_form.mustache MDL-64686 theme: align course search form for small screens sizes. 2020-02-21 06:38:08 +01:00
coursecard.mustache MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-17 08:16:42 +00:00
coursecards.mustache MDL-64376 recentlyaccessedcourses: improve displaying of courses 2019-02-27 10:58:02 +08:00
defaultactivitycompletion.mustache MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css 2020-08-17 08:16:42 +00:00
editbulkactivitycompletion.mustache MDL-58267 completion: allow to set default activity completion 2017-04-19 08:54:35 +08:00
editdefaultcompletion.mustache MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
favouriteicon.mustache MDL-63988 core_my: add course shortname to dashboard blocks … 2018-11-28 17:36:20 +01:00
no-courses.mustache MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
placeholder-course.mustache MDL-63880 core_course: Move common templates to core_course 2019-02-07 13:45:12 +08:00
view-cards.mustache MDL-64438 core_course: Optionally display course category 2019-09-18 17:52:20 +08:00