-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.3, 3.4, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-61015-master -
1. Select "Hidden sections are shown in collapsed form" option in "Course format" on course edit page.
2. Switch role to student
3. Title of the hidden section + " is not available" will appear in a <div> with no CSS class instead of heading <h3 class="sectionname">. Thus it is impossible to style it as a title of the section.
Shall the html output in this case be more similar to other sections? Something like the following:
<h3 class="sectionname">[title]</h3>
<div class="availabilityinfo">section is not available</div>