-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.6, 4.1.1, 4.2
-
MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-77456-master -
-
2
-
HQ 2023 Sprint i1.3 Moppies
When an element from the course index is clicked, it's expected to be highlighted:
However, when you are on an activity page and click an element in the course index that doesn't have a page (like an activity with restrictions or a label), the link is working as expected but the element is not highlighted.
Steps to reproduce it:
- Create a course
- Add an assignment "Assignment 1".
- Add another assignment, "Restricted assignment", with a Restriction "Date" displayed to students with a date in the future (so students will see it displayed in the course index but won't be able to access the activity).
- Login as a student.
- Access to "Assignment 1".
- From the assignment page, click on "Restricted assignment" in the Course index.
Expected behaviour:
- The "Restricted assignment" is highlighted.
Current behaviour:
- The "Restricted assignment" is not highlighted.
Once MDL-77291 will be integrated in master, it can also be reproduced from 4.2 onwards with labels.
- Discovered while testing
-
MDL-77291 Show text and media elements (aka. labels) in the course index also in non edit mode
-
- Closed
-