diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 2442fe5acc9..18089df6fea 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,7 @@ "recommendations": [ "ionic.ionic", "dbaeumer.vscode-eslint", - "angular.ng-template" + "angular.ng-template", + "nesterenok.js-beautify-extentions", ] } diff --git a/.vscode/settings.json b/.vscode/settings.json index d0ad3fae64d..ef21db2f2be 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,7 @@ */ "editor.defaultFormatter": "dbaeumer.vscode-eslint", "[html]": { - "editor.defaultFormatter": "vscode.html-language-features", + "editor.defaultFormatter": "nesterenok.js-beautify-extentions", }, "editor.formatOnSave": true, "eslint.format.enable": true, diff --git a/src/addons/block/timeline/components/events/addon-block-timeline-events.html b/src/addons/block/timeline/components/events/addon-block-timeline-events.html index 1f55dd71a34..40bbd55414b 100644 --- a/src/addons/block/timeline/components/events/addon-block-timeline-events.html +++ b/src/addons/block/timeline/components/events/addon-block-timeline-events.html @@ -10,9 +10,9 @@

@if (course) { -

+

} @else { -

+

} {{ dayEvents.dayTimestamp * 1000 | coreFormatDate:"strftimedaydate" }} diff --git a/src/addons/blog/pages/edit-entry/edit-entry.html b/src/addons/blog/pages/edit-entry/edit-entry.html index 824644ea028..3b2123277e1 100644 --- a/src/addons/blog/pages/edit-entry/edit-entry.html +++ b/src/addons/blog/pages/edit-entry/edit-entry.html @@ -40,35 +40,35 @@

{{ entry ? entry.subject : 'addon.blog.addnewentry' | translate }}

[componentId]="entry?.id ?? 0" /> @if (courseId && associatedCourse) { - - - -

{{ 'addon.blog.associations' | translate }}

-
-
-
- @if (associationsExpanded) { - - @if (associatedModule) { - - + + +

{{ 'addon.blog.associations' | translate }}

+
+
+
+ @if (associationsExpanded) { + + @if (associatedModule) { + + - - } @else if (associatedCourse) { - - - + + } @else if (associatedCourse) { + + + + } + } - - } -
+
} {{ title | translate }}

@if (showMyEntriesToggle) { - - - {{ 'addon.blog.showonlyyourentries' | translate }} - - + + + {{ 'addon.blog.showonlyyourentries' | translate }} + + } @if (hasOfflineDataToSync()) { - - - - + + + + } @for (entry of entries; track getEntryTemplateId(entry)) { -
-
-

- - @if (entry.userid === currentUserId && entry.publishTranslated === 'publishtonoone') { - - {{ 'addon.blog.publishtonoone' | translate }} - +
+
+

+ + @if (entry.userid === currentUserId && entry.publishTranslated === 'publishtonoone') { + + {{ 'addon.blog.publishtonoone' | translate }} + + } + + @if (!getEntryId(entry) || entry.updatedOffline) { + + + + {{ 'core.notsent' | translate }} + + + } +

+ + @if (entry.userid === currentUserId && optionsAvailable && !entry.deleted) { + + } - @if (!getEntryId(entry) || entry.updatedOffline) { - - - - {{ 'core.notsent' | translate }} - - + @if (entry.deleted) { + + } -

- - @if (entry.userid === currentUserId && optionsAvailable && !entry.deleted) { - - - } - - @if (entry.deleted) { - - - } -
- -
-
-
- @if (entry.user?.fullname && entry.created) { - +
+ +
+ + @if (entry.user?.fullname && entry.created) { + - } @else if (!entry.user?.fullname && entry.created) { - {{ entry.created | coreDateDayOrTime }} - } -
- -
-
- + } @else if (!entry.user?.fullname && entry.created) { + {{ entry.created | coreDateDayOrTime }} + }
- @if (tagsEnabled && entry.tags && entry.tags!.length > 0) { - - -
{{ 'core.tag.tags' | translate }}:
- -
-
- } +
+
+ +
+ + @if (tagsEnabled && entry.tags && entry.tags!.length > 0) { + + +
{{ 'core.tag.tags' | translate }}:
+ +
+
+ } - + - @if (entry.uniquehash) { - - {{ 'addon.blog.linktooriginalentry' | translate }} - - } -
+ @if (entry.uniquehash) { + + {{ 'addon.blog.linktooriginalentry' | translate }} + + } +
- @if (entry.lastmodified > entry.created || (entry.userid === currentUserId && entry.publishstate !== 'draft')) { - - @if (entry.lastmodified > entry.created) { - - - {{ entry.lastmodified | coreTimeAgo }} - + @if (entry.lastmodified > entry.created || (entry.userid === currentUserId && entry.publishstate !== 'draft')) { + + @if (entry.lastmodified > entry.created) { + + + {{ entry.lastmodified | coreTimeAgo }} + + } + + @if (entry.userid === currentUserId && entry.publishstate !== 'draft') { + + + {{ 'addon.blog.' + entry.publishTranslated | translate }} + + } + } - @if (entry.userid === currentUserId && entry.publishstate !== 'draft') { - - - {{ 'addon.blog.' + entry.publishTranslated | translate }} - + @if (getEntryId(entry) && commentsEnabled) { + } - - } - - @if (getEntryId(entry) && commentsEnabled) { - - } -
+ } @empty { - + } @@ -149,12 +151,12 @@

@if ((filter.userid === currentUserId || showMyEntriesToggle) && loaded() && optionsAvailable) { - - - - + + + + } diff --git a/src/addons/messages/pages/settings/settings.html b/src/addons/messages/pages/settings/settings.html index 0ab1a16dc3d..6a10bac2d50 100644 --- a/src/addons/messages/pages/settings/settings.html +++ b/src/addons/messages/pages/settings/settings.html @@ -30,56 +30,56 @@

{{ 'core.settings.general' | translate }}

@if (warningMessage()) { - - - - + + + + } @else { - - - - - {{ 'addon.messages.blocknoncontacts' | translate }} - - + + + + + {{ 'addon.messages.blocknoncontacts' | translate }} + + - - - - -

{{ 'addon.messages.contactableprivacy' | translate }}

-
-
- - - {{ 'addon.messages.contactableprivacy_onlycontacts' | translate }} - - - - - {{ 'addon.messages.contactableprivacy_coursemember' | translate }} - - - - - {{ 'addon.messages.contactableprivacy_site' | translate }} - - -
-
-
+ + + + +

{{ 'addon.messages.contactableprivacy' | translate }}

+
+
+ + + {{ 'addon.messages.contactableprivacy_onlycontacts' | translate }} + + + + + {{ 'addon.messages.contactableprivacy_coursemember' | translate }} + + + + + {{ 'addon.messages.contactableprivacy_site' | translate }} + + +
+
+
- - - - - - - + + + + + + + + - }
diff --git a/src/addons/mod/assign/components/index/addon-mod-assign-index.html b/src/addons/mod/assign/components/index/addon-mod-assign-index.html index 9d4f2f619db..d591b878a02 100644 --- a/src/addons/mod/assign/components/index/addon-mod-assign-index.html +++ b/src/addons/mod/assign/components/index/addon-mod-assign-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/bigbluebuttonbn/components/index/index.html b/src/addons/mod/bigbluebuttonbn/components/index/index.html index bebbd40335d..317802aa373 100644 --- a/src/addons/mod/bigbluebuttonbn/components/index/index.html +++ b/src/addons/mod/bigbluebuttonbn/components/index/index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/book/components/index/addon-mod-book-index.html b/src/addons/mod/book/components/index/addon-mod-book-index.html index 67a665edf3c..a827584a759 100644 --- a/src/addons/mod/book/components/index/addon-mod-book-index.html +++ b/src/addons/mod/book/components/index/addon-mod-book-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/chat/components/index/addon-mod-chat-index.html b/src/addons/mod/chat/components/index/addon-mod-chat-index.html index d722b32f5f3..8ba9fdee3d2 100644 --- a/src/addons/mod/chat/components/index/addon-mod-chat-index.html +++ b/src/addons/mod/chat/components/index/addon-mod-chat-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/choice/components/index/addon-mod-choice-index.html b/src/addons/mod/choice/components/index/addon-mod-choice-index.html index 5c4bc6e6666..6995a171dec 100644 --- a/src/addons/mod/choice/components/index/addon-mod-choice-index.html +++ b/src/addons/mod/choice/components/index/addon-mod-choice-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/data/components/index/addon-mod-data-index.html b/src/addons/mod/data/components/index/addon-mod-data-index.html index b33b0b95644..79cfd651d04 100644 --- a/src/addons/mod/data/components/index/addon-mod-data-index.html +++ b/src/addons/mod/data/components/index/addon-mod-data-index.html @@ -10,15 +10,15 @@ (action)="gotoEntry(firstEntry)" /> @if (courseContentsPage) { - + } @if (!courseContentsPage) { - - + + } diff --git a/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html b/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html index 25a9e956e9e..64250d0d0ee 100644 --- a/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html +++ b/src/addons/mod/feedback/components/index/addon-mod-feedback-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/folder/components/index/addon-mod-folder-index.html b/src/addons/mod/folder/components/index/addon-mod-folder-index.html index 7a92a9bcfb1..29727f326c6 100644 --- a/src/addons/mod/folder/components/index/addon-mod-folder-index.html +++ b/src/addons/mod/folder/components/index/addon-mod-folder-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/forum/components/index/index.html b/src/addons/mod/forum/components/index/index.html index df3ce64059c..641ced3446a 100644 --- a/src/addons/mod/forum/components/index/index.html +++ b/src/addons/mod/forum/components/index/index.html @@ -5,17 +5,17 @@ @if (!courseContentsPage) { - - + + - - + + } @else { - - - + + + } diff --git a/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html b/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html index eb7ff23a48a..6f12f791ee5 100644 --- a/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html +++ b/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html @@ -10,14 +10,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/h5pactivity/components/index/addon-mod-h5pactivity-index.html b/src/addons/mod/h5pactivity/components/index/addon-mod-h5pactivity-index.html index 269e511059c..593f63d4551 100644 --- a/src/addons/mod/h5pactivity/components/index/addon-mod-h5pactivity-index.html +++ b/src/addons/mod/h5pactivity/components/index/addon-mod-h5pactivity-index.html @@ -8,15 +8,15 @@ (action)="viewAllAttempts()" iconAction="fas-chart-bar" /> @if (courseContentsPage) { - + } @if (!courseContentsPage) { - - + + } @@ -29,18 +29,18 @@ @if (triedToPlay && !isOnline && (!siteCanDownload || hasMissingDependencies)) { - - - - + + + + } diff --git a/src/addons/mod/imscp/components/index/addon-mod-imscp-index.html b/src/addons/mod/imscp/components/index/addon-mod-imscp-index.html index d01c4c51e1e..0298bf2a875 100644 --- a/src/addons/mod/imscp/components/index/addon-mod-imscp-index.html +++ b/src/addons/mod/imscp/components/index/addon-mod-imscp-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html b/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html index b87d2774c4f..5926d0ab74c 100644 --- a/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html +++ b/src/addons/mod/lesson/components/index/addon-mod-lesson-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/lti/components/index/addon-mod-lti-index.html b/src/addons/mod/lti/components/index/addon-mod-lti-index.html index 08debe14940..7b1b6a72131 100644 --- a/src/addons/mod/lti/components/index/addon-mod-lti-index.html +++ b/src/addons/mod/lti/components/index/addon-mod-lti-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/page/components/index/addon-mod-page-index.html b/src/addons/mod/page/components/index/addon-mod-page-index.html index eb99ae3e66f..44a6193f667 100644 --- a/src/addons/mod/page/components/index/addon-mod-page-index.html +++ b/src/addons/mod/page/components/index/addon-mod-page-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/quiz/components/attempt-state/attempt-state.html b/src/addons/mod/quiz/components/attempt-state/attempt-state.html index eeedb87678e..fddd1a4262c 100644 --- a/src/addons/mod/quiz/components/attempt-state/attempt-state.html +++ b/src/addons/mod/quiz/components/attempt-state/attempt-state.html @@ -1,6 +1,6 @@ @if (finishedOffline) { - diff --git a/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html b/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html index fc556d75e3b..a58b4cf2b3f 100644 --- a/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html +++ b/src/addons/mod/quiz/components/index/addon-mod-quiz-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } @@ -53,121 +53,122 @@ @if (quiz && attempts.length) { - - - {{ 'addon.mod_quiz.summaryofattempts' | translate }} - - - - @if (quiz && showResults && (gradeResult || gradeOverridden || gradebookFeedback || (quiz.showFeedback && overallFeedback))) { - - @if (overallStats && gradeResult) { - - -
- @if (moreAttempts) { - {{ gradeMethodReadable }} - {{ gradeResult }} - } @else { - {{ 'addon.mod_quiz.yourfinalgradeis' | translate:{ $a: gradeResult } }} - } -
- - @if (gradeOverridden) { -

-

+ + + {{ 'addon.mod_quiz.summaryofattempts' | translate }} + + + + @if (quiz && showResults && (gradeResult || gradeOverridden || gradebookFeedback || (quiz.showFeedback && overallFeedback))) { + + @if (overallStats && gradeResult) { + + +
+ @if (moreAttempts) { + {{ gradeMethodReadable }} + {{ gradeResult }} + } @else { + {{ 'addon.mod_quiz.yourfinalgradeis' | translate:{ $a: gradeResult } }} + } +
+ + @if (gradeOverridden) { +

+

+ } +
+
} -
-
- } - - @if (gradebookFeedback) { - - -

{{ 'addon.mod_quiz.comment' | translate }}

-

- -

-
-
- } - - @if (quiz.showFeedback && overallFeedback) { -
- - } - - } - - - @for (attempt of attempts; track attempt.id) { - - - -

{{ 'addon.mod_quiz.attempt' | translate:{ $a: attempt.attempt } }}

-
-
- - @if (attempt.finished && quiz.showAttemptsGrades) { - @if (attempt.rescaledGrade !== undefined && attempt.rescaledGrade >= 0) { -

- {{ 'core.grades.gradelong' | translate: { $a: { - grade: attempt.formattedGrade, - max: quiz.gradeFormatted, - } } }} -

- } @else { -

{{ 'addon.mod_quiz.notyetgraded' | translate }}

- } - } -
-
-
- - - @if (attempt.canReview) { -
- - - } @else if (attempt.completed && attempt.cannotReviewMessage) { -
- + + @if (gradebookFeedback) { + +

{{ 'addon.mod_quiz.comment' | translate }}

-

- } @else if (attempt.finishedOffline) { + } + + @if (quiz.showFeedback && overallFeedback) {
- + - } -
-
+ } + } -
-
+ + + @for (attempt of attempts; track attempt.id) { + + + +

{{ 'addon.mod_quiz.attempt' | translate:{ $a: attempt.attempt } }}

+
+
+ + @if (attempt.finished && quiz.showAttemptsGrades) { + @if (attempt.rescaledGrade !== undefined && attempt.rescaledGrade >= 0) { +

+ {{ 'core.grades.gradelong' | translate: { $a: { + grade: attempt.formattedGrade, + max: quiz.gradeFormatted, + } } }} +

+ } @else { +

{{ 'addon.mod_quiz.notyetgraded' | translate }}

+ } + } +
+
+
+ + + @if (attempt.canReview) { +
+ + + } @else if (attempt.completed && attempt.cannotReviewMessage) { +
+ + +

+

+
+
+ } @else if (attempt.finishedOffline) { +
+ + +

+

+
+
+ } +
+
+ } +
+ } diff --git a/src/addons/mod/resource/components/index/addon-mod-resource-index.html b/src/addons/mod/resource/components/index/addon-mod-resource-index.html index 59d8fd3706e..06df2824a93 100644 --- a/src/addons/mod/resource/components/index/addon-mod-resource-index.html +++ b/src/addons/mod/resource/components/index/addon-mod-resource-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/scorm/components/index/addon-mod-scorm-index.html b/src/addons/mod/scorm/components/index/addon-mod-scorm-index.html index 5fb418b670f..172e41799ce 100644 --- a/src/addons/mod/scorm/components/index/addon-mod-scorm-index.html +++ b/src/addons/mod/scorm/components/index/addon-mod-scorm-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/survey/components/index/addon-mod-survey-index.html b/src/addons/mod/survey/components/index/addon-mod-survey-index.html index 661324b9381..01a9fe5bf9e 100644 --- a/src/addons/mod/survey/components/index/addon-mod-survey-index.html +++ b/src/addons/mod/survey/components/index/addon-mod-survey-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/url/components/index/addon-mod-url-index.html b/src/addons/mod/url/components/index/addon-mod-url-index.html index 053903639b5..aadf1710c83 100644 --- a/src/addons/mod/url/components/index/addon-mod-url-index.html +++ b/src/addons/mod/url/components/index/addon-mod-url-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html b/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html index fbd9d7e5cdc..1c2e41f536f 100644 --- a/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html +++ b/src/addons/mod/wiki/components/index/addon-mod-wiki-index.html @@ -19,15 +19,15 @@ (action)="goToNewPage()" /> @if (courseContentsPage) { - + }
@if (!courseContentsPage) { - - + + } diff --git a/src/addons/mod/workshop/components/index/addon-mod-workshop-index.html b/src/addons/mod/workshop/components/index/addon-mod-workshop-index.html index 46319c337e5..4df23f573bf 100644 --- a/src/addons/mod/workshop/components/index/addon-mod-workshop-index.html +++ b/src/addons/mod/workshop/components/index/addon-mod-workshop-index.html @@ -1,14 +1,14 @@ @if (!courseContentsPage) { - - + + } @else { - - - + + + } diff --git a/src/addons/notifications/pages/settings/settings.html b/src/addons/notifications/pages/settings/settings.html index c3ec1194e46..2df4f8b05e3 100644 --- a/src/addons/notifications/pages/settings/settings.html +++ b/src/addons/notifications/pages/settings/settings.html @@ -21,45 +21,45 @@

{{ 'addon.notifications.notifications' | translate }}

@if (warningMessage()) { - - - - + + + + } @else { - - - -

{{ 'addon.notifications.allownotifications' | translate }}

-
-
- - -

{{ 'addon.notifications.playsound' | translate }}

-
-
-
+ + + +

{{ 'addon.notifications.allownotifications' | translate }}

+
+
+ + +

{{ 'addon.notifications.playsound' | translate }}

+
+
+
- - - - -

{{ 'addon.notifications.typeofnotification' | translate }}

- - {{ processor.displayname }} - -
-
+ + + + +

{{ 'addon.notifications.typeofnotification' | translate }}

+ + {{ processor.displayname }} + +
+
- - - + + + - - - -
+ + + +
}
diff --git a/src/addons/privatefiles/components/file-actions/file-actions.html b/src/addons/privatefiles/components/file-actions/file-actions.html index b516ef80ea2..c0999174853 100644 --- a/src/addons/privatefiles/components/file-actions/file-actions.html +++ b/src/addons/privatefiles/components/file-actions/file-actions.html @@ -17,10 +17,10 @@ @if (isDownloaded) { - - + + } diff --git a/src/addons/privatefiles/components/file/file.html b/src/addons/privatefiles/components/file/file.html index 367ea8a0f5d..f6eeb669763 100644 --- a/src/addons/privatefiles/components/file/file.html +++ b/src/addons/privatefiles/components/file/file.html @@ -1,54 +1,55 @@ @if (file) { - - - @if (showCheckbox) { - - } @else { - - - - } - - -

- {{fileName}} - - @if (state === statusDownloaded) { - - } -

- - -

- {{ fileSizeReadable }} - · - {{ timemodified * 1000 | coreFormatDate }} -

-
-
- - - - @if (!showCheckbox) { - - @if (state !== statusDownloaded) { - + + + @if (showCheckbox) { + + } @else { + + + } - @if (canDelete) { - - - } - } -
-
- + +

+ {{fileName}} + + @if (state === statusDownloaded) { + + } +

+ + +

+ {{ fileSizeReadable }} + · + {{ timemodified * 1000 | coreFormatDate }} +

+
+
+ + + + @if (!showCheckbox) { + + @if (state !== statusDownloaded) { + + } + + @if (canDelete) { + + + } + } +
+
+ } diff --git a/src/addons/privatefiles/pages/index/index.html b/src/addons/privatefiles/pages/index/index.html index 3abdd3d5d37..44d47789987 100644 --- a/src/addons/privatefiles/pages/index/index.html +++ b/src/addons/privatefiles/pages/index/index.html @@ -2,11 +2,11 @@ @if (selectFilesEnabled()) { - - + + } @else { - + } @@ -14,9 +14,9 @@

{{ selectFilesEnabled() ? (selectedFiles.length + ' ' + title) : title }} @if (selectFilesEnabled() && selectedFiles.length > 0) { - - + + } @@ -58,12 +58,12 @@

{{ selectFilesEnabled() ? (selectedFiles.length + ' ' + title) : title }} @if (!file.isdir) { - + } @@ -74,19 +74,19 @@

{{ selectFilesEnabled() ? (selectedFiles.length + ' ' + title) : title }} @if (showUpload && root !== 'site' && !path && !selectFilesEnabled()) { - - - - + + + + } @if (selectFilesEnabled()) { -
- - {{ 'core.selectall' | translate }} - -
+
+ + {{ 'core.selectall' | translate }} + +
} diff --git a/src/addons/qtype/ordering/component/addon-qtype-ordering.html b/src/addons/qtype/ordering/component/addon-qtype-ordering.html index d9b3fe1e6eb..4159ce57607 100644 --- a/src/addons/qtype/ordering/component/addon-qtype-ordering.html +++ b/src/addons/qtype/ordering/component/addon-qtype-ordering.html @@ -1,56 +1,58 @@ @if (question && (question.text || question.text === '')) { -
- - - - - +
+ + + + + - @if (a11yAnnouncement) { -
{{ a11yAnnouncement }}
- } + @if (a11yAnnouncement) { +
{{ a11yAnnouncement }}
+ } - - @for (item of question.items; track item.id) { - - - + + } + - - -
+ + +
} diff --git a/src/addons/storagemanager/pages/course-storage/course-storage.html b/src/addons/storagemanager/pages/course-storage/course-storage.html index 50c6f6ec366..9a51d1ab0a8 100644 --- a/src/addons/storagemanager/pages/course-storage/course-storage.html +++ b/src/addons/storagemanager/pages/course-storage/course-storage.html @@ -99,9 +99,9 @@

{{ 'addon.storagemanager.coursedownloads' | translate }}

@if (section.expanded) { -