diff --git a/CHANGES.md b/CHANGES.md index 907e8c6..7c9ca64 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,5 +10,6 @@ Changes * 2019-08-20 - Add toggle icon for rtl languages. * 2019-08-20 - Fix issue #12 Wrong item labels in drop targets list. -### Work in progress -* 2019-08-21 - Add section progress bar feature (initiated by Chris Kenniburg) \ No newline at end of file +### v3.7.1 +* 2019-08-21 - Add section progress bar feature (initiated by Chris Kenniburg) +* 2019-08-23 - Fix display of section 0 title to be consistent with core topics format (issue #1) \ No newline at end of file diff --git a/renderer.php b/renderer.php index 1a9114e..f3cb571 100644 --- a/renderer.php +++ b/renderer.php @@ -292,6 +292,8 @@ protected function section_header($section, $course, $onsectionpage, $sectionret $section->section . '"> ' . $sectionname . ' '; + } else if ($section->section == 0 && !is_null($section->name)) { + $o .= $this->output->heading($sectionname, 3, 'sectionname' . $classes); } // End collapse toggle.