diff --git a/src/core/courses/pages/course-preview/course-preview.html b/src/core/courses/pages/course-preview/course-preview.html index 75a6f7077..cf62ca683 100644 --- a/src/core/courses/pages/course-preview/course-preview.html +++ b/src/core/courses/pages/course-preview/course-preview.html @@ -58,6 +58,10 @@

{{ 'core.course.contents' | translate }}

+ + +

{{ 'core.openinbrowser' | translate }}

+
diff --git a/src/core/courses/pages/course-preview/course-preview.ts b/src/core/courses/pages/course-preview/course-preview.ts index 3d672fb12..703894eaa 100644 --- a/src/core/courses/pages/course-preview/course-preview.ts +++ b/src/core/courses/pages/course-preview/course-preview.ts @@ -48,6 +48,7 @@ export class CoreCoursesCoursePreviewPage implements OnDestroy { title: 'core.course.downloadcourse' }; downloadCourseEnabled: boolean; + courseUrl: string; protected guestWSAvailable: boolean; protected isGuestEnabled = false; @@ -55,7 +56,6 @@ export class CoreCoursesCoursePreviewPage implements OnDestroy { protected enrollmentMethods: any[]; protected waitStart = 0; protected enrolUrl: string; - protected courseUrl: string; protected paypalReturnUrl: string; protected isMobile: boolean; protected isDesktop: boolean;