diff --git a/scripts/langindex.json b/scripts/langindex.json index ff7a935dd..941a96d56 100644 --- a/scripts/langindex.json +++ b/scripts/langindex.json @@ -1654,6 +1654,7 @@ "core.resourcedisplayopen": "moodle", "core.resources": "moodle", "core.restore": "moodle", + "core.restricted": "moodle", "core.retry": "local_moodlemobileapp", "core.save": "moodle", "core.search": "moodle", diff --git a/src/addon/mod/forum/components/index/addon-mod-forum-index.html b/src/addon/mod/forum/components/index/addon-mod-forum-index.html index 9d93ce8b0..bc35c9d06 100644 --- a/src/addon/mod/forum/components/index/addon-mod-forum-index.html +++ b/src/addon/mod/forum/components/index/addon-mod-forum-index.html @@ -31,12 +31,7 @@ {{ availabilityMessage }} - -
- -
+
diff --git a/src/assets/lang/en.json b/src/assets/lang/en.json index 373327eeb..0fbb6a521 100644 --- a/src/assets/lang/en.json +++ b/src/assets/lang/en.json @@ -1654,6 +1654,7 @@ "core.resourcedisplayopen": "Open", "core.resources": "Resources", "core.restore": "Restore", + "core.restricted": "Restricted", "core.retry": "Retry", "core.save": "Save", "core.search": "Search", diff --git a/src/core/course/components/module/core-course-module.html b/src/core/course/components/module/core-course-module.html index 6958c4dca..55686efd0 100644 --- a/src/core/course/components/module/core-course-module.html +++ b/src/core/course/components/module/core-course-module.html @@ -19,13 +19,16 @@
-
+
{{ 'core.course.hiddenfromstudents' | translate }} {{ 'core.course.hiddenoncoursepage' | translate }} - +
+ {{ 'core.restricted' | translate }} + +
{{ 'core.course.manualcompletionnotsynced' | translate }}
diff --git a/src/core/course/components/module/module.scss b/src/core/course/components/module/module.scss index 2efad78fd..410482e76 100644 --- a/src/core/course/components/module/module.scss +++ b/src/core/course/components/module/module.scss @@ -51,6 +51,19 @@ ion-app.app-root core-course-module { } } + .core-module-more-info { + ion-badge { + @include text-align('start'); + } + + .core-module-availabilityinfo { + font-size: 90%; + ul { + margin-block-start: 0.5em; + } + } + } + .core-not-clickable:active, .core-not-clickable.activated { background-color: $list-background-color; diff --git a/src/core/course/pages/section-selector/section-selector.scss b/src/core/course/pages/section-selector/section-selector.scss index c35e93f93..fa325a001 100644 --- a/src/core/course/pages/section-selector/section-selector.scss +++ b/src/core/course/pages/section-selector/section-selector.scss @@ -10,6 +10,6 @@ ion-app.app-root page-core-course-section-selector { } ion-badge { - text-align: left; + @include text-align('start'); } } \ No newline at end of file diff --git a/src/lang/en.json b/src/lang/en.json index 64042e606..5e594fcc6 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -202,6 +202,7 @@ "resourcedisplayopen": "Open", "resources": "Resources", "restore": "Restore", + "restricted": "Restricted", "retry": "Retry", "save": "Save", "search": "Search",