Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
MDL-67613-master -
-
Moppies Kanban
Description
When a teachers defines a completion access restriction to a section or activity, they have to indicate a specific activity, and if they made any changes to the course structure they have to modify manually all the dependencies again. Instead, this patch adds a new option to the availability completion activity menu called "Previous activity with completion" which is a relative reference.
This way, they could move the activity freely and access condition points always on the previous activity with completion enabled. Now a teacher could modify a simple sequential course without changing all the dependencies.
When editing, the availability condition just show the previous activity name to avoid problems with the dynamic course edition:
But when the user is not in editing mode the access restriction is calculated on the fly:
For the student is the same as if the teacher just use the regular availability_completion options.