diff --git a/src/core/features/course/components/format/core-course-format.html b/src/core/features/course/components/format/core-course-format.html index 92471c075..33837629f 100644 --- a/src/core/features/course/components/format/core-course-format.html +++ b/src/core/features/course/components/format/core-course-format.html @@ -2,7 +2,7 @@ + [content]="'core.course.courseindex' | translate" (action)="openCourseIndex()" iconAction="fas-list-ul"> diff --git a/src/core/features/course/components/format/format.scss b/src/core/features/course/components/format/format.scss index 8167ba66a..4567b6b78 100644 --- a/src/core/features/course/components/format/format.scss +++ b/src/core/features/course/components/format/format.scss @@ -10,3 +10,8 @@ flex: 1; } } + +.course-section { + --padding-start: 12px; + --inner-padding-end: 12px; +} diff --git a/src/core/features/course/pages/contents/contents.html b/src/core/features/course/pages/contents/contents.html index 88716c7ea..2648ff943 100644 --- a/src/core/features/course/pages/contents/contents.html +++ b/src/core/features/course/pages/contents/contents.html @@ -1,8 +1,5 @@ - - diff --git a/src/core/features/course/pages/contents/contents.ts b/src/core/features/course/pages/contents/contents.ts index 199599a4c..d93a3cb18 100644 --- a/src/core/features/course/pages/contents/contents.ts +++ b/src/core/features/course/pages/contents/contents.ts @@ -379,16 +379,6 @@ export class CoreCourseContentsPage implements OnInit, OnDestroy { } } - /** - * Open the course summary - */ - openCourseSummary(): void { - CoreNavigator.navigateToSitePath( - `/course/${this.course.id}/preview`, - { params: { course: this.course, avoidOpenCourse: true } }, - ); - } - /** * Opens a menu item registered to the delegate. * diff --git a/src/core/features/course/pages/index/index.html b/src/core/features/course/pages/index/index.html index 8ca38de7f..0187dc8e4 100644 --- a/src/core/features/course/pages/index/index.html +++ b/src/core/features/course/pages/index/index.html @@ -9,29 +9,23 @@ - + + + + + - + - - -

- - -

-

{{ title }}

-
- - - - - -
+

+ + +

+

{{ title }}