diff --git a/www/core/components/course/controllers/section.js b/www/core/components/course/controllers/section.js index cb795bf6d35..be89e320377 100644 --- a/www/core/components/course/controllers/section.js +++ b/www/core/components/course/controllers/section.js @@ -40,6 +40,7 @@ angular.module('mm.core.course') $scope.title = $translate.instant('mm.course.allsections'); } $scope.summary = null; + $scope.allSections = true; } // Convenience function to fetch section(s). diff --git a/www/core/components/course/templates/section.html b/www/core/components/course/templates/section.html index f600cd22b9c..12c1c930480 100644 --- a/www/core/components/course/templates/section.html +++ b/www/core/components/course/templates/section.html @@ -14,11 +14,11 @@
-
+

{{ section.name }}

-
+
{{ section.summary }}