diff --git a/src/addons/badges/pages/issued-badge/issued-badge.html b/src/addons/badges/pages/issued-badge/issued-badge.html index 0a80b561d..d4865c4c9 100644 --- a/src/addons/badges/pages/issued-badge/issued-badge.html +++ b/src/addons/badges/pages/issued-badge/issued-badge.html @@ -3,8 +3,10 @@ -

{{ badge.name }}

-

{{ 'addon.badges.badges' | translate }}

+ +

{{ badge.name }}

+

{{ 'addon.badges.badges' | translate }}

+
@@ -54,8 +56,8 @@

{{ 'addon.badges.contact' | translate}}

- {{ badge.issuercontact }} -

+ {{ badge.issuercontact }} +

@@ -100,8 +102,8 @@

{{ 'addon.badges.imageauthoremail' | translate}}

- {{ badge.imageauthoremail }} -

+ {{ badge.imageauthoremail }} +

@@ -157,7 +159,9 @@ -

{{ 'addon.badges.bendorsement' | translate}}

+ +

{{ 'addon.badges.bendorsement' | translate}}

+
@@ -169,8 +173,7 @@

{{ 'addon.badges.issueremail' | translate}}

- + {{ badge.endorsement.issueremail }}

@@ -205,27 +208,39 @@ -

{{ 'addon.badges.relatedbages' | translate}}

+ +

{{ 'addon.badges.relatedbages' | translate}}

+
-

{{ relatedBadge.name }}

+ +

{{ relatedBadge.name }}

+
-

{{ 'addon.badges.norelated' | translate}}

+ +

{{ 'addon.badges.norelated' | translate}}

+
-

{{ 'addon.badges.alignment' | translate}}

+ +

{{ 'addon.badges.alignment' | translate}}

+
-

{{ alignment.targetname }}

+ +

{{ alignment.targetname }}

+
-

{{ 'addon.badges.noalignment' | translate}}

+ +

{{ 'addon.badges.noalignment' | translate}}

+
diff --git a/src/addons/badges/pages/user-badges/user-badges.html b/src/addons/badges/pages/user-badges/user-badges.html index a04a3e761..8b872cbea 100644 --- a/src/addons/badges/pages/user-badges/user-badges.html +++ b/src/addons/badges/pages/user-badges/user-badges.html @@ -3,7 +3,9 @@ -

{{ 'addon.badges.badges' | translate }}

+ +

{{ 'addon.badges.badges' | translate }}

+
@@ -12,8 +14,7 @@ - + diff --git a/src/addons/blog/pages/entries/entries.html b/src/addons/blog/pages/entries/entries.html index 60d027fcb..550ee3fd2 100644 --- a/src/addons/blog/pages/entries/entries.html +++ b/src/addons/blog/pages/entries/entries.html @@ -3,7 +3,9 @@ -

{{ title | translate }}

+ +

{{ title | translate }}

+
@@ -18,8 +20,7 @@ {{ 'addon.blog.showonlyyourentries' | translate }}
- + @@ -27,8 +28,7 @@

- + {{ 'addon.blog.' + entry.publishTranslated! | translate}} @@ -68,8 +68,8 @@

- {{entry.lastmodified | coreTimeAgo}} + {{entry.lastmodified | + coreTimeAgo}}
diff --git a/src/addons/calendar/components/reminder-time-modal/reminder-time-modal.html b/src/addons/calendar/components/reminder-time-modal/reminder-time-modal.html index ad47dee3a..cdf45cb20 100644 --- a/src/addons/calendar/components/reminder-time-modal/reminder-time-modal.html +++ b/src/addons/calendar/components/reminder-time-modal/reminder-time-modal.html @@ -1,6 +1,8 @@ -

{{ 'addon.calendar.reminders' | translate }}

+ +

{{ 'addon.calendar.reminders' | translate }}

+
@@ -36,15 +38,13 @@
- + + [disabled]="radioValue != 'custom'" slot="end" [interfaceOptions]="{header: 'addon.calendar.units' | translate}"> {{ option.label | translate }} diff --git a/src/addons/calendar/pages/day/day.html b/src/addons/calendar/pages/day/day.html index 7580d07b1..ef0fe2306 100644 --- a/src/addons/calendar/pages/day/day.html +++ b/src/addons/calendar/pages/day/day.html @@ -3,7 +3,9 @@ -

{{ 'addon.calendar.calendarevents' | translate }}

+ +

{{ 'addon.calendar.calendarevents' | translate }}

+
@@ -13,8 +15,8 @@ iconAction="fas-calendar-day" (action)="goToCurrentDay()"> + [content]="'core.settings.synchronizenow' | translate" (action)="doRefresh(undefined, $event)" [iconAction]="syncIcon" + [closeOnClick]="false"> @@ -60,7 +62,7 @@ + [class.item-dimmed]="event.ispast" [ngClass]="['addon-calendar-eventtype-'+event.eventtype]" button detail="true"> @@ -74,7 +76,7 @@

+ [contextInstanceId]="event.contextInstanceId">

diff --git a/src/addons/calendar/pages/edit-event/edit-event.html b/src/addons/calendar/pages/edit-event/edit-event.html index 469fc2e7c..0ba264922 100644 --- a/src/addons/calendar/pages/edit-event/edit-event.html +++ b/src/addons/calendar/pages/edit-event/edit-event.html @@ -3,7 +3,9 @@ -

{{ title | translate }}

+ +

{{ title | translate }}

+
@@ -40,12 +42,8 @@

{{ 'addon.calendar.eventkind' | translate }}

{{eventTypes[0].name | translate }}

- + {{ type.name | translate }} @@ -83,8 +81,7 @@

{{ 'core.course' | translate }}

- {{ course.fullname }} @@ -93,7 +90,9 @@
-

{{ 'core.coursenogroups' | translate }}

+ +

{{ 'core.coursenogroups' | translate }}

+
@@ -128,8 +127,7 @@

{{ reminder.label }}

- +
@@ -158,8 +156,7 @@ + [placeholder]="'addon.calendar.durationuntil' | translate" [displayFormat]="dateFormat" display-timezone="utc"> @@ -171,8 +168,7 @@ {{ 'addon.calendar.durationminutes' | translate }} + [placeholder]="'addon.calendar.durationminutes' | translate" formControlName="timedurationminutes">
@@ -223,8 +219,8 @@

{{ 'core.description' | translate }}

+ [placeholder]="'core.description' | translate" name="description" [component]="component" [componentId]="eventId" + [autoSave]="false">
diff --git a/src/addons/calendar/pages/event/event.html b/src/addons/calendar/pages/event/event.html index e2279bd11..8744742c3 100644 --- a/src/addons/calendar/pages/event/event.html +++ b/src/addons/calendar/pages/event/event.html @@ -3,30 +3,31 @@ -

- - - - - {{ 'addon.calendar.type' + event.formattedType | translate }} - {{ event.iconTitle }} - - -

+ +

+ + + + + {{ 'addon.calendar.type' + event.formattedType | translate }} + {{ event.iconTitle }} + + + +

+
- - + + [content]="'core.delete' | translate" (action)="deleteEvent()" iconAction="fas-trash"> @@ -52,7 +53,7 @@

{{ 'addon.calendar.when' | translate }}

+ [contextInstanceId]="event.contextInstanceId">
{{ 'core.deletedoffline' | translate }} @@ -82,8 +83,10 @@

{{ 'core.category' | translate}}

-

+

+ + +

@@ -123,13 +126,12 @@ - +

{{ reminder.label }}

- +
diff --git a/src/addons/calendar/pages/index/index.html b/src/addons/calendar/pages/index/index.html index b67f85700..8675bca95 100644 --- a/src/addons/calendar/pages/index/index.html +++ b/src/addons/calendar/pages/index/index.html @@ -3,24 +3,24 @@ -

{{ (showCalendar ? 'addon.calendar.calendarevents' : 'addon.calendar.upcomingevents') | translate }}

+ +

{{ (showCalendar ? 'addon.calendar.calendarevents' : 'addon.calendar.upcomingevents') | translate }}

+
- - - + + + + [content]="'core.settings.synchronizenow' | translate" (action)="doRefresh(undefined, $event, true)" + [iconAction]="syncIcon" [closeOnClick]="false"> @@ -43,8 +43,7 @@ [displayNavButtons]="showCalendar" (onEventClicked)="gotoEvent($event)" (onDayClicked)="gotoDay($event)"> - + diff --git a/src/addons/calendar/pages/settings/settings.html b/src/addons/calendar/pages/settings/settings.html index 8ebb4f579..d8982f79b 100644 --- a/src/addons/calendar/pages/settings/settings.html +++ b/src/addons/calendar/pages/settings/settings.html @@ -3,7 +3,9 @@ -

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

+ +

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

+
diff --git a/src/addons/competency/pages/competencies/competencies.html b/src/addons/competency/pages/competencies/competencies.html index c2b651541..911270667 100644 --- a/src/addons/competency/pages/competencies/competencies.html +++ b/src/addons/competency/pages/competencies/competencies.html @@ -3,7 +3,9 @@ -

{{ title }}

+ +

{{ title }}

+
diff --git a/src/addons/competency/pages/competency/competency.html b/src/addons/competency/pages/competency/competency.html index cc34b86b0..d70e9e806 100644 --- a/src/addons/competency/pages/competency/competency.html +++ b/src/addons/competency/pages/competency/competency.html @@ -3,9 +3,11 @@ -

- {{ competency.competency.competency.shortname }} {{ competency.competency.competency.idnumber }} -

+ +

+ {{ competency.competency.competency.shortname }} {{ competency.competency.competency.idnumber }} +

+
@@ -16,7 +18,9 @@ -

{{ user.fullname }}

+ +

{{ user.fullname }}

+
@@ -32,11 +36,9 @@

{{ 'addon.competency.path' | translate }}

- + competency.competency.comppath.pagecontextid" core-link> {{ competency.competency.comppath.framework.name }} @@ -129,7 +131,9 @@ -

{{ evidence.gradename }}

+

+ {{ evidence.gradename }} +

{{ evidence.description }}

{{ evidence.note }}
diff --git a/src/addons/competency/pages/competencysummary/competencysummary.html b/src/addons/competency/pages/competencysummary/competencysummary.html index 664344804..1467f6e50 100644 --- a/src/addons/competency/pages/competencysummary/competencysummary.html +++ b/src/addons/competency/pages/competencysummary/competencysummary.html @@ -3,9 +3,11 @@ -

- {{ competency.competency.shortname }} {{ competency.competency.idnumber }} -

+ +

+ {{ competency.competency.shortname }} {{ competency.competency.idnumber }} +

+
diff --git a/src/addons/competency/pages/coursecompetencies/coursecompetencies.html b/src/addons/competency/pages/coursecompetencies/coursecompetencies.html index a0e2f63e3..fa1cf08bc 100644 --- a/src/addons/competency/pages/coursecompetencies/coursecompetencies.html +++ b/src/addons/competency/pages/coursecompetencies/coursecompetencies.html @@ -3,7 +3,9 @@ -

{{ 'addon.competency.coursecompetencies' | translate }}

+ +

{{ 'addon.competency.coursecompetencies' | translate }}

+
@@ -24,7 +26,7 @@ {{ 'addon.competency.xcompetenciesproficientoutofyincourse' | translate: {$a: - {x: competencies.statistics.proficientcompetencycount, y: competencies.statistics.competencycount} } }} + {x: competencies.statistics.proficientcompetencycount, y: competencies.statistics.competencycount} } }} @@ -48,13 +50,15 @@ {{ 'addon.competency.coursecompetencies' | translate }} - + -

{{ user.fullname }}

+ +

{{ user.fullname }}

+
- +
@@ -81,10 +85,9 @@

{{ 'addon.competency.path' | translate }}

- + {{ competency.comppath.framework.name }} @@ -103,7 +106,7 @@

{{ 'addon.competency.uponcoursecompletion' | translate }}

- + {{ ruleoutcome.text }}
@@ -131,8 +134,8 @@ - - + +
diff --git a/src/addons/competency/pages/plan/plan.html b/src/addons/competency/pages/plan/plan.html index edebcf7ba..ff5035a62 100644 --- a/src/addons/competency/pages/plan/plan.html +++ b/src/addons/competency/pages/plan/plan.html @@ -3,7 +3,9 @@ -

{{plan.plan.name}}

+ +

{{plan.plan.name}}

+
@@ -18,14 +20,13 @@

{{ user.fullname }}

- +

- +

@@ -53,7 +54,7 @@

{{ 'addon.competency.progress' | translate }}

{{ 'addon.competency.xcompetenciesproficientoutofy' | translate: - {$a: {x: plan.proficientcompetencycount, y: plan.competencycount} } }} + {$a: {x: plan.proficientcompetencycount, y: plan.competencycount} } }}

+ (click)="openCompetency(competency.competency.id)" [attr.aria-label]="competency.competency.shortname" detail="true" + button>

{{competency.competency.shortname}} {{competency.competency.idnumber}}

- {{ competency.usercompetencyplan.gradename }} - + {{ competency.usercompetencyplan.gradename }} + {{ competency.usercompetency.gradename }} diff --git a/src/addons/competency/pages/planlist/planlist.html b/src/addons/competency/pages/planlist/planlist.html index 1b037fe48..214120779 100644 --- a/src/addons/competency/pages/planlist/planlist.html +++ b/src/addons/competency/pages/planlist/planlist.html @@ -3,7 +3,9 @@ -

{{ 'addon.competency.userplans' | translate }}

+ +

{{ 'addon.competency.userplans' | translate }}

+
@@ -16,8 +18,8 @@ - +

{{ plan.name }}

@@ -30,4 +32,4 @@ - + diff --git a/src/addons/coursecompletion/pages/report/report.html b/src/addons/coursecompletion/pages/report/report.html index bc71b97f4..4c29301db 100644 --- a/src/addons/coursecompletion/pages/report/report.html +++ b/src/addons/coursecompletion/pages/report/report.html @@ -3,7 +3,9 @@ -

{{ 'addon.coursecompletion.coursecompletion' | translate }}

+ +

{{ 'addon.coursecompletion.coursecompletion' | translate }}

+
@@ -28,14 +30,18 @@
-

{{ 'addon.coursecompletion.requiredcriteria' | translate }}

+ +

{{ 'addon.coursecompletion.requiredcriteria' | translate }}

+

-

+

+ +

{{ criteria.status }}
@@ -73,7 +79,9 @@
-

{{ 'addon.coursecompletion.manualselfcompletion' | translate }}

+ +

{{ 'addon.coursecompletion.manualselfcompletion' | translate }}

+
diff --git a/src/addons/messageoutput/airnotifier/pages/devices/devices.html b/src/addons/messageoutput/airnotifier/pages/devices/devices.html index 02ea186de..255e061b5 100644 --- a/src/addons/messageoutput/airnotifier/pages/devices/devices.html +++ b/src/addons/messageoutput/airnotifier/pages/devices/devices.html @@ -3,7 +3,9 @@ -

{{ 'addon.messageoutput_airnotifier.processorsettingsdesc' | translate }}

+ +

{{ 'addon.messageoutput_airnotifier.processorsettingsdesc' | translate }}

+
@@ -21,10 +23,7 @@

{{ device.platform }} {{ device.version }}

- +
diff --git a/src/addons/messages/components/conversation-info/conversation-info.html b/src/addons/messages/components/conversation-info/conversation-info.html index 8a311ea57..59f120624 100644 --- a/src/addons/messages/components/conversation-info/conversation-info.html +++ b/src/addons/messages/components/conversation-info/conversation-info.html @@ -1,6 +1,8 @@ -

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

+ +

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

+
@@ -18,7 +20,7 @@
+ onError="this.src='assets/img/group-avatar.png'">

@@ -32,8 +34,8 @@ - + diff --git a/src/addons/messages/pages/contacts-35/contacts.html b/src/addons/messages/pages/contacts-35/contacts.html index 21e96c278..285f07231 100644 --- a/src/addons/messages/pages/contacts-35/contacts.html +++ b/src/addons/messages/pages/contacts-35/contacts.html @@ -3,7 +3,9 @@ -

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

+ +

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

+
@@ -14,9 +16,8 @@ - + -

{{ 'addon.messages.type_' + contactType | translate }}

- {{ contacts[contactType].length }} + +

{{ 'addon.messages.type_' + contactType | translate }}

+
+ + {{ contacts[contactType].length }} +
-

{{ contact.fullname }}

+ +

{{ contact.fullname }}

+
diff --git a/src/addons/messages/pages/contacts/contacts.html b/src/addons/messages/pages/contacts/contacts.html index 26e59ea71..8a3cacd95 100644 --- a/src/addons/messages/pages/contacts/contacts.html +++ b/src/addons/messages/pages/contacts/contacts.html @@ -3,7 +3,9 @@ -

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

+ +

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

+
@@ -26,8 +28,8 @@ - +

@@ -45,8 +47,8 @@ [message]="'addon.messages.nocontactsgetstarted' | translate"> - + @@ -77,8 +79,8 @@ - + diff --git a/src/addons/messages/pages/discussion/discussion.html b/src/addons/messages/pages/discussion/discussion.html index f38237550..06978fd47 100644 --- a/src/addons/messages/pages/discussion/discussion.html +++ b/src/addons/messages/pages/discussion/discussion.html @@ -3,59 +3,56 @@ -

- - - - - - - - -

+ +

+ + + + + + + + +

+
+ [content]="'addon.messages.info' | translate" (action)="viewInfo()" iconAction="fas-info-circle"> - + [content]="'addon.messages.groupinfo' | translate" (action)="viewInfo()" iconAction="fas-info-circle"> + + - + [content]="'addon.messages.showdeletemessages' | translate" iconAction="toggle" [(toggle)]="showDelete"> + + [hidden]="isSelf || !otherMember || otherMember.iscontact || requestContactSent || requestContactReceived" [priority]="100" + [content]="'addon.messages.addtoyourcontacts' | translate" (action)="createContactRequest()" [iconAction]="addRemoveIcon"> + + [content]="'addon.messages.removefromyourcontacts' | translate" (action)="removeContact()" [iconAction]="addRemoveIcon" + [iconSlash]="true"> @@ -72,15 +69,13 @@

{{ title }}

- +

{{ message.timecreated | coreFormatDate: "strftimedayshort" }}

- + {{ 'addon.messages.newmessages' | translate }} @@ -93,8 +88,7 @@
-
diff --git a/src/addons/messages/pages/discussions-35/discussions.html b/src/addons/messages/pages/discussions-35/discussions.html index 8824fe578..63fa5426d 100644 --- a/src/addons/messages/pages/discussions-35/discussions.html +++ b/src/addons/messages/pages/discussions-35/discussions.html @@ -3,7 +3,9 @@ -

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

+ +

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

+
@@ -15,9 +17,9 @@ - + @@ -26,7 +28,9 @@ -

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

+ +

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

+
@@ -34,7 +38,9 @@

{{ 'core.searchresults' | translate }}

- {{ search.results.length }} + + {{ search.results.length }} +

{{ result.fullname }}

-

+

+ +

@@ -67,8 +75,8 @@

- +

diff --git a/src/addons/messages/pages/group-conversations/group-conversations.html b/src/addons/messages/pages/group-conversations/group-conversations.html index d55475d6c..bfd14752d 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.html +++ b/src/addons/messages/pages/group-conversations/group-conversations.html @@ -3,7 +3,9 @@ -

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

+ +

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

+
@@ -25,28 +27,25 @@ -

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

+ +

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

+
{{ 'addon.messages.pendingcontactrequests' | translate:{$a: contactRequestsCount} }}
- + [attr.aria-expanded]="favourites.expanded" aria-controls="addon-messages-groupconversations-favourite" role="heading" + detail="false"> -

{{ 'core.favourites' | translate }} ({{ favourites.count }})

+ +

{{ 'core.favourites' | translate }} ({{ favourites.count }})

+
{{ 'addon.messages.unreadconversations' | translate:{$a: favourites.unread} }} @@ -60,28 +59,26 @@ -

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

+ +

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

+
- + + + - + -

{{ 'addon.messages.groupconversations' | translate }} ({{ group.count }})

+ +

{{ 'addon.messages.groupconversations' | translate }} ({{ group.count }})

+
{{ 'addon.messages.unreadconversations' | translate:{$a: group.unread} }} @@ -95,24 +92,21 @@ -

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

+ +

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

+
- + + + - + [attr.aria-expanded]="individual.expanded" aria-controls="addon-messages-groupconversations-individual" role="heading" + detail="false"> @@ -132,11 +126,15 @@ -

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

+ +

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

+
- + + +
@@ -147,28 +145,27 @@ + onError="this.src='assets/img/group-avatar.png'"> - +

- - + + + +

@@ -180,16 +177,17 @@
-

+

+ +

{{ 'addon.messages.you' | translate }} {{ conversation.members[0].fullname + ':' }} - +

diff --git a/src/addons/messages/pages/search/search.html b/src/addons/messages/pages/search/search.html index d3700d20e..6c5d98f08 100644 --- a/src/addons/messages/pages/search/search.html +++ b/src/addons/messages/pages/search/search.html @@ -3,7 +3,9 @@ -

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

+ +

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

+
@@ -23,8 +25,7 @@ [error]="messages.loadMoreError"> - @@ -35,20 +36,20 @@ -

{{ item.titleString | translate }}

+ +

{{ item.titleString | translate }}

+
+ (click)="openConversation(result)" [attr.aria-current]="result == selectedResult ? 'page' : 'false'" detail="true" button>

- +

@@ -58,9 +59,8 @@ {{ 'addon.messages.you' | translate }} - +

diff --git a/src/addons/messages/pages/settings/settings.html b/src/addons/messages/pages/settings/settings.html index 9a1721a24..997cc0277 100644 --- a/src/addons/messages/pages/settings/settings.html +++ b/src/addons/messages/pages/settings/settings.html @@ -3,7 +3,9 @@ -

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

+ +

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

+
@@ -14,15 +16,17 @@ - {{ 'addon.messages.blocknoncontacts' | translate }} - - + {{ 'addon.messages.blocknoncontacts' | translate }} + + -

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

+ +

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

+
{{ 'addon.messages.contactableprivacy_onlycontacts' | translate }} @@ -66,16 +70,9 @@ {{ processor.displayname }} - - + + {{ processor.lockedmessage }} @@ -92,15 +89,11 @@ {{ processor.displayname }} - + - +
{{'core.settings.locked' | translate }} @@ -118,14 +111,10 @@ If notifications are disabled, show "Disabled" instead of toggle. --> {{ 'core.settings.' + state | translate }} - - + + {{'core.settings.locked' | translate }} @@ -144,7 +133,11 @@ -

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

+ + +

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

+
+

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

diff --git a/src/addons/mod/assign/components/edit-feedback-modal/edit-feedback-modal.html b/src/addons/mod/assign/components/edit-feedback-modal/edit-feedback-modal.html index 6e5868cce..f24b5d9b3 100644 --- a/src/addons/mod/assign/components/edit-feedback-modal/edit-feedback-modal.html +++ b/src/addons/mod/assign/components/edit-feedback-modal/edit-feedback-modal.html @@ -1,6 +1,8 @@ -

{{ plugin.name }}

+ +

{{ plugin.name }}

+
@@ -10,8 +12,7 @@
- + {{ 'core.done' | translate }} diff --git a/src/addons/mod/assign/components/feedback-plugin/addon-mod-assign-feedback-plugin.html b/src/addons/mod/assign/components/feedback-plugin/addon-mod-assign-feedback-plugin.html index 0c6116e3c..fce2551b7 100644 --- a/src/addons/mod/assign/components/feedback-plugin/addon-mod-assign-feedback-plugin.html +++ b/src/addons/mod/assign/components/feedback-plugin/addon-mod-assign-feedback-plugin.html @@ -1,4 +1,3 @@ - @@ -9,9 +8,8 @@ {{ 'addon.mod_assign.feedbacknotsupported' | translate }}

- +

- + + [priority]="800" [content]="'core.moduleintro' | translate" (action)="expandDescription()" iconAction="fas-arrow-right"> - + @@ -31,35 +30,14 @@ - + + + + + - - - - - - - - - - - - - - - - - - - - {{ 'core.hasdatatosync' | translate: {$a: moduleName} }} - - - @@ -90,8 +68,7 @@
- +

{{ 'addon.mod_assign.numberofteams' | translate }}

{{ 'addon.mod_assign.numberofparticipants' | translate }}

@@ -109,48 +86,48 @@ -

{{ 'addon.mod_assign.numberofdraftsubmissions' | translate }}

+ +

{{ 'addon.mod_assign.numberofdraftsubmissions' | translate }}

+
{{ 'addon.mod_assign.numberofdraftsubmissionscountdescription' | translate: - {count: summary.submissiondraftscount} }} + {count: summary.submissiondraftscount} }}
-

{{ 'addon.mod_assign.numberofsubmittedassignments' | translate }}

+ +

{{ 'addon.mod_assign.numberofsubmittedassignments' | translate }}

+
{{ 'addon.mod_assign.numberofsubmittedassignmentscountdescription' | translate: - {count: summary.submissionssubmittedcount} }} + {count: summary.submissionssubmittedcount} }}
-

{{ 'addon.mod_assign.numberofsubmissionsneedgrading' | translate }}

+ +

{{ 'addon.mod_assign.numberofsubmissionsneedgrading' | translate }}

+
{{ 'addon.mod_assign.numberofsubmissionsneedgradingcountdescription' | translate: - {count: summary.submissionsneedgradingcount} }} + {count: summary.submissionsneedgradingcount} }}
diff --git a/src/addons/mod/assign/components/submission-plugin/addon-mod-assign-submission-plugin.html b/src/addons/mod/assign/components/submission-plugin/addon-mod-assign-submission-plugin.html index 9ec50a95c..0359f704c 100644 --- a/src/addons/mod/assign/components/submission-plugin/addon-mod-assign-submission-plugin.html +++ b/src/addons/mod/assign/components/submission-plugin/addon-mod-assign-submission-plugin.html @@ -1,4 +1,3 @@ - @@ -9,9 +8,8 @@ {{ 'addon.mod_assign.submissionnotsupported' | translate }}

- +

{{ plugin.name }}

- +

- +
@@ -25,9 +23,8 @@ {{ plugin.name }} - + diff --git a/src/addons/mod/assign/pages/edit/edit.html b/src/addons/mod/assign/pages/edit/edit.html index 0b4882748..fab97200b 100644 --- a/src/addons/mod/assign/pages/edit/edit.html +++ b/src/addons/mod/assign/pages/edit/edit.html @@ -3,10 +3,12 @@ -

- - -

+ +

+ + +

+
{{ 'core.save' | translate }} diff --git a/src/addons/mod/assign/pages/index/index.html b/src/addons/mod/assign/pages/index/index.html index 8e1a710bc..0d424c637 100644 --- a/src/addons/mod/assign/pages/index/index.html +++ b/src/addons/mod/assign/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/assign/pages/submission-list/submission-list.html b/src/addons/mod/assign/pages/submission-list/submission-list.html index 6485d2520..3d9cb57a0 100644 --- a/src/addons/mod/assign/pages/submission-list/submission-list.html +++ b/src/addons/mod/assign/pages/submission-list/submission-list.html @@ -3,10 +3,12 @@ -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/assign/pages/submission-review/submission-review.html b/src/addons/mod/assign/pages/submission-review/submission-review.html index fa5c6d28a..227dfca1d 100644 --- a/src/addons/mod/assign/pages/submission-review/submission-review.html +++ b/src/addons/mod/assign/pages/submission-review/submission-review.html @@ -3,10 +3,12 @@ -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html b/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html index 6660c6c4f..f17a5dca5 100644 --- a/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html +++ b/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html @@ -4,9 +4,8 @@

{{ plugin.name }}

{{ 'addon.mod_assign.numwords' | translate: {'$a': words} }}

- +

@@ -15,7 +14,9 @@
-

{{ plugin.name }}

+ +

{{ plugin.name }}

+
@@ -25,10 +26,10 @@ {{ plugin.name }} - +
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 7be6e735b..f6f090647 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 @@ -4,12 +4,12 @@
- + - + - + - - @@ -39,9 +36,8 @@
- +
- +
diff --git a/src/addons/mod/book/components/toc/toc.html b/src/addons/mod/book/components/toc/toc.html index 7028b51d4..42165ea28 100644 --- a/src/addons/mod/book/components/toc/toc.html +++ b/src/addons/mod/book/components/toc/toc.html @@ -1,6 +1,8 @@ -

{{ 'addon.mod_book.toc' | translate }}

+ +

{{ 'addon.mod_book.toc' | translate }}

+
@@ -12,14 +14,12 @@

- + @@ -38,8 +38,8 @@

{{item.itemnumber}}. - +

diff --git a/src/addons/mod/feedback/pages/form/form.html b/src/addons/mod/feedback/pages/form/form.html index 3f67b5a17..4ed5b620f 100644 --- a/src/addons/mod/feedback/pages/form/form.html +++ b/src/addons/mod/feedback/pages/form/form.html @@ -3,10 +3,12 @@ -

- - -

+ +

+ + +

+
@@ -28,22 +30,20 @@

{{item.itemnumber}}. - + {{item.postfix}}

- +

- + @@ -56,8 +56,8 @@ - + + contextLevel="module" [contextInstanceId]="cmId" [wsNotFiltered]="true" [courseId]="courseId"> - + - + @@ -89,19 +87,18 @@ + contextLevel="module" [contextInstanceId]="cmId" [wsNotFiltered]="true" [courseId]="courseId"> - +
- +
diff --git a/src/addons/mod/feedback/pages/index/index.html b/src/addons/mod/feedback/pages/index/index.html index f7c6c173a..fa031ccc7 100644 --- a/src/addons/mod/feedback/pages/index/index.html +++ b/src/addons/mod/feedback/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html b/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html index 9dd84ed46..7f85fd6dd 100644 --- a/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html +++ b/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html @@ -3,7 +3,9 @@ -

{{ 'addon.mod_feedback.responses' |translate }}

+ +

{{ 'addon.mod_feedback.responses' |translate }}

+
@@ -27,7 +29,9 @@
-

{{ 'addon.mod_feedback.non_respondents_students' | translate : {$a: total } }}

+ +

{{ 'addon.mod_feedback.non_respondents_students' | translate : {$a: total } }}

+
diff --git a/src/addons/mod/feedback/pages/respondents/respondents.html b/src/addons/mod/feedback/pages/respondents/respondents.html index 54bd44f9b..51c2184d0 100644 --- a/src/addons/mod/feedback/pages/respondents/respondents.html +++ b/src/addons/mod/feedback/pages/respondents/respondents.html @@ -3,7 +3,9 @@ -

{{ 'addon.mod_feedback.responses' |translate }}

+ +

{{ 'addon.mod_feedback.responses' |translate }}

+
@@ -48,7 +50,9 @@ {{ 'core.loadmore' | translate }} - + + +
@@ -71,7 +75,9 @@ {{ 'core.loadmore' | translate }} - + + + 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 4763418b3..cb1093a10 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 @@ - + - + @@ -26,14 +26,10 @@ - + - - - diff --git a/src/addons/mod/folder/pages/index/index.html b/src/addons/mod/folder/pages/index/index.html index 198e37e5f..442b976ec 100644 --- a/src/addons/mod/folder/pages/index/index.html +++ b/src/addons/mod/folder/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/forum/components/index/index.html b/src/addons/mod/forum/components/index/index.html index 3703497a6..e61fce1ef 100644 --- a/src/addons/mod/forum/components/index/index.html +++ b/src/addons/mod/forum/components/index/index.html @@ -1,38 +1,30 @@ - + - + - - - + - + - @@ -46,22 +38,15 @@ - - - - - - - - + - - {{ 'core.hasdatatosync' | translate:{$a: moduleName} }} + + {{descriptionNote}} + - +
@@ -72,23 +57,17 @@ - +
-
- @@ -98,15 +77,12 @@ [attr.aria-label]="'addon.mod_forum.discussionpinned' | translate"> - +

- + @@ -158,8 +134,7 @@
-
diff --git a/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html b/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html index 278563d0c..45ff21577 100644 --- a/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html +++ b/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html @@ -1,6 +1,8 @@ -

{{ 'core.sort' | translate }}

+ +

{{ 'core.sort' | translate }}

+
diff --git a/src/addons/mod/forum/pages/discussion/discussion.html b/src/addons/mod/forum/pages/discussion/discussion.html index 6cc5bb804..8753e0b5d 100644 --- a/src/addons/mod/forum/pages/discussion/discussion.html +++ b/src/addons/mod/forum/pages/discussion/discussion.html @@ -3,10 +3,12 @@ -

- - -

+ +

+ + +

+
@@ -14,48 +16,41 @@
- - - + - + - + - + - + - + - - + - @@ -90,25 +85,20 @@
- +
- + [leavingPage]="leavingPage" (onPostChange)="postListChanged()"> @@ -121,12 +111,10 @@ - +
diff --git a/src/addons/mod/forum/pages/index/index.html b/src/addons/mod/forum/pages/index/index.html index c98bfc3a1..0a1366b3d 100644 --- a/src/addons/mod/forum/pages/index/index.html +++ b/src/addons/mod/forum/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/forum/pages/new-discussion/new-discussion.html b/src/addons/mod/forum/pages/new-discussion/new-discussion.html index 6155f595b..b083956f4 100644 --- a/src/addons/mod/forum/pages/new-discussion/new-discussion.html +++ b/src/addons/mod/forum/pages/new-discussion/new-discussion.html @@ -3,7 +3,9 @@ -

{{ 'addon.mod_forum.addanewdiscussion' | translate }}

+ +

{{ 'addon.mod_forum.addanewdiscussion' | translate }}

+
@@ -18,9 +20,8 @@
{{ 'addon.mod_forum.subject' | translate }} - + @@ -31,19 +32,14 @@ (contentChanged)="onMessageChange($event)"> - + -

{{ 'addon.mod_forum.advanced' | translate }}

+ +

{{ 'addon.mod_forum.advanced' | translate }}

+
@@ -66,17 +62,16 @@ {{ 'addon.mod_forum.discussionpinned' | translate }} - +
- {{ 'addon.mod_forum.posttoforum' | translate }} 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 02b9e0405..b0095c394 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,18 +10,17 @@ - + - + + [content]="'core.refresh' | translate" (action)="doRefresh(null, $event)" [iconAction]="refreshIcon" [closeOnClick]="false"> - + - - - - - - - - {{ 'core.hasdatatosync' | translate:{$a: moduleName} }} - - - -

{{ 'addon.mod_glossary.entriestobesynced' | translate }}

+ +

{{ 'addon.mod_glossary.entriestobesynced' | translate }}

+
@@ -84,11 +73,12 @@ -

{{ getDivider!(entry) }}

+ +

{{ getDivider!(entry) }}

+
- + diff --git a/src/addons/mod/glossary/pages/edit/edit.html b/src/addons/mod/glossary/pages/edit/edit.html index 9ab191489..55faf51fe 100644 --- a/src/addons/mod/glossary/pages/edit/edit.html +++ b/src/addons/mod/glossary/pages/edit/edit.html @@ -3,10 +3,12 @@ -

- - -

+ +

+ + +

+
@@ -14,16 +16,15 @@ {{ 'addon.mod_glossary.concept' | translate }} - + {{ 'addon.mod_glossary.definition' | translate }} + [placeholder]="'addon.mod_glossary.definition' | translate" name="addon_mod_glossary_edit" [component]="component" + [componentId]="cmId" [autoSave]="true" contextLevel="module" [contextInstanceId]="cmId" elementId="definition_editor" + [draftExtraParams]="editorExtraParams"> @@ -47,14 +48,18 @@ -

{{ 'addon.mod_glossary.attachment' | translate }}

+ +

{{ 'addon.mod_glossary.attachment' | translate }}

+
- + -

{{ 'addon.mod_glossary.linking' | translate }}

+ +

{{ 'addon.mod_glossary.linking' | translate }}

+
{{ 'addon.mod_glossary.entryusedynalink' | translate }} diff --git a/src/addons/mod/glossary/pages/entry/entry.html b/src/addons/mod/glossary/pages/entry/entry.html index 4e644e998..03737a4a1 100644 --- a/src/addons/mod/glossary/pages/entry/entry.html +++ b/src/addons/mod/glossary/pages/entry/entry.html @@ -3,10 +3,12 @@ -

- - -

+ +

+ + +

+
@@ -39,14 +41,13 @@
- +
- +
@@ -56,20 +57,21 @@
-

{{ 'addon.mod_glossary.entrypendingapproval' | translate }}

+ +

{{ 'addon.mod_glossary.entrypendingapproval' | translate }}

+
- + + [aggregateMethod]="glossary.assessed" [scaleId]="glossary.scale" [userId]="entry.userid" (onUpdate)="ratingUpdated()"> + [instanceId]="glossary.coursemodule" [itemId]="entry.id" [courseId]="glossary.course" [aggregateMethod]="glossary.assessed" + [scaleId]="glossary.scale">
diff --git a/src/addons/mod/glossary/pages/index/index.html b/src/addons/mod/glossary/pages/index/index.html index 2183e2bf6..501b8f25d 100644 --- a/src/addons/mod/glossary/pages/index/index.html +++ b/src/addons/mod/glossary/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
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 ca3d3524f..4c7b7cd88 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 @@ -5,18 +5,17 @@ [priority]="1000" [content]="'addon.mod_h5pactivity.review_my_attempts' | translate" (action)="viewMyAttempts()" iconAction="stats-chart">
- + - + - + @@ -37,22 +36,10 @@ - + - - - - - - - - {{ 'core.hasdatatosync' | translate: {$a: moduleName} }} - - - @@ -79,8 +66,7 @@ - + {{ 'addon.mod_h5pactivity.downloadh5pfile' | translate }} diff --git a/src/addons/mod/h5pactivity/pages/attempt-results/attempt-results.html b/src/addons/mod/h5pactivity/pages/attempt-results/attempt-results.html index f643a4047..d4022f31c 100644 --- a/src/addons/mod/h5pactivity/pages/attempt-results/attempt-results.html +++ b/src/addons/mod/h5pactivity/pages/attempt-results/attempt-results.html @@ -3,11 +3,13 @@ -

- - -

+ +

+ + +

+
@@ -62,15 +64,15 @@

{{ 'addon.mod_h5pactivity.outcome' | translate }}

-

+

{{ 'addon.mod_h5pactivity.attempt_success_pass' | translate }}

-

+

{{ 'addon.mod_h5pactivity.attempt_success_fail' | translate }}

-

+

{{ 'addon.mod_h5pactivity.attempt_success_unknown' | translate }}

@@ -89,15 +91,15 @@ - + - + @@ -113,8 +115,7 @@
- + @@ -124,8 +125,7 @@ - + @@ -143,9 +143,9 @@

- {{ 'addon.mod_h5pactivity.score' | translate }}: - {{ 'addon.mod_h5pactivity.score_out_of' | translate:{$a: result} }} -

+ {{ 'addon.mod_h5pactivity.score' | translate }}: + {{ 'addon.mod_h5pactivity.score_out_of' | translate:{$a: result} }} +

diff --git a/src/addons/mod/h5pactivity/pages/index/index.html b/src/addons/mod/h5pactivity/pages/index/index.html index 2f3d19f98..6ac751048 100644 --- a/src/addons/mod/h5pactivity/pages/index/index.html +++ b/src/addons/mod/h5pactivity/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html b/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html index 31ca8fcd6..5432ccb09 100644 --- a/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html +++ b/src/addons/mod/h5pactivity/pages/user-attempts/user-attempts.html @@ -3,11 +3,13 @@ -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html b/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html index 37ed87b63..375cb84cc 100644 --- a/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html +++ b/src/addons/mod/h5pactivity/pages/users-attempts/users-attempts.html @@ -3,11 +3,13 @@ -

- - -

+ +

+ + +

+
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 98901925b..4f15b3bc9 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 @@ -4,14 +4,14 @@ - + - + @@ -29,8 +29,7 @@ - + diff --git a/src/addons/mod/imscp/components/toc/toc.html b/src/addons/mod/imscp/components/toc/toc.html index 2d06279f9..e9aee76c6 100644 --- a/src/addons/mod/imscp/components/toc/toc.html +++ b/src/addons/mod/imscp/components/toc/toc.html @@ -1,6 +1,8 @@ -

{{ 'addon.mod_imscp.toc' | translate }}

+ +

{{ 'addon.mod_imscp.toc' | translate }}

+
diff --git a/src/addons/mod/imscp/pages/index/index.html b/src/addons/mod/imscp/pages/index/index.html index fd8b7e083..712346154 100644 --- a/src/addons/mod/imscp/pages/index/index.html +++ b/src/addons/mod/imscp/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
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 d8948ccbb..a9eeb2a60 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 @@ - + - + @@ -33,14 +33,10 @@ - + - - - @@ -49,14 +45,6 @@ - - - - - {{ 'core.hasdatatosync' | translate: {$a: moduleName} }} - - - @@ -132,13 +120,11 @@ - + {{ 'core.start' | translate }} - + {{ 'addon.mod_lesson.preview' | translate }} @@ -295,8 +281,8 @@ {{ 'addon.mod_lesson.overview' | translate }} - + diff --git a/src/addons/mod/lesson/components/menu-modal/menu-modal.html b/src/addons/mod/lesson/components/menu-modal/menu-modal.html index c70b46229..80e242f0b 100644 --- a/src/addons/mod/lesson/components/menu-modal/menu-modal.html +++ b/src/addons/mod/lesson/components/menu-modal/menu-modal.html @@ -1,7 +1,8 @@ -

{{ pageInstance?.lesson?.name }}

- + +

{{ pageInstance?.lesson?.name }}

+
@@ -15,7 +16,9 @@ -

{{ 'addon.mod_lesson.linkedmedia' | translate }}

+ +

{{ 'addon.mod_lesson.linkedmedia' | translate }}

+
@@ -25,16 +28,20 @@ -

{{ 'addon.mod_lesson.lessonmenu' | translate }}

+ +

{{ 'addon.mod_lesson.lessonmenu' | translate }}

+
- + + +
+ [attr.aria-current]="!pageInstance.eolData && pageInstance.currentPage == page.id ? 'page' : 'false'" button + detail="true"> diff --git a/src/addons/mod/lesson/components/password-modal/password-modal.html b/src/addons/mod/lesson/components/password-modal/password-modal.html index fe3013504..1f033719b 100644 --- a/src/addons/mod/lesson/components/password-modal/password-modal.html +++ b/src/addons/mod/lesson/components/password-modal/password-modal.html @@ -1,7 +1,8 @@ -

{{ 'core.login.password' | translate }}

- + +

{{ 'core.login.password' | translate }}

+
@@ -14,8 +15,8 @@ {{ 'addon.mod_lesson.enterpassword' | translate }} - + diff --git a/src/addons/mod/lesson/pages/index/index.html b/src/addons/mod/lesson/pages/index/index.html index 4c5603526..a6b75a913 100644 --- a/src/addons/mod/lesson/pages/index/index.html +++ b/src/addons/mod/lesson/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
@@ -17,7 +19,6 @@ - + diff --git a/src/addons/mod/lesson/pages/player/player.html b/src/addons/mod/lesson/pages/player/player.html index b5a0a9e7b..0a55d7838 100644 --- a/src/addons/mod/lesson/pages/player/player.html +++ b/src/addons/mod/lesson/pages/player/player.html @@ -3,11 +3,12 @@ -

- - -

+ +

+ + +

+
@@ -46,15 +47,14 @@ - + - + @@ -91,8 +91,8 @@

{{ 'addon.mod_lesson.youranswer' | translate }}

+ [text]="question.useranswer" contextLevel="module" [contextInstanceId]="lesson?.coursemodule" + [courseId]="courseId">

@@ -105,9 +105,8 @@ - + @@ -119,9 +118,8 @@ - + @@ -133,10 +131,12 @@ -

-

+

+ + +

@@ -161,8 +161,8 @@ - + {{ button.content }} @@ -213,8 +213,7 @@ - + {{ eolData.displayscorewithoutessays.message }} @@ -247,19 +246,17 @@ {{ eolData.modattemptsnoteacher.message }} - - + + - + - + @@ -267,15 +264,14 @@ - + {{ processData.ongoingscore }}
- +
@@ -286,8 +282,7 @@ - + {{ 'addon.mod_lesson.finish' | translate }} -

{{ 'addon.mod_lesson.detailedstats' | translate }}

+ +

{{ 'addon.mod_lesson.detailedstats' | translate }}

+
@@ -133,8 +135,8 @@

+ [text]="answer[0].content" contextLevel="module" [contextInstanceId]="lesson?.coursemodule" + [courseId]="courseId">

@@ -144,8 +146,7 @@
- + @@ -213,15 +214,13 @@

- +

- +
@@ -233,14 +232,16 @@

{{ 'addon.mod_lesson.response' | translate }}

+ [text]="page.answerdata.response" contextLevel="module" [contextInstanceId]="lesson?.coursemodule" + [courseId]="courseId">

-

{{page.answerdata.score}}

+ +

{{page.answerdata.score}}

+
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 184f09284..ef10e579e 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 @@ - + - + @@ -20,14 +20,11 @@ - + - - -
diff --git a/src/addons/mod/lti/pages/index/index.html b/src/addons/mod/lti/pages/index/index.html index bd9a3da32..9b7017a3f 100644 --- a/src/addons/mod/lti/pages/index/index.html +++ b/src/addons/mod/lti/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
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 fcc229d26..2dcb76d66 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 @@ - + - + @@ -26,14 +26,10 @@ - + - - - diff --git a/src/addons/mod/page/pages/index/index.html b/src/addons/mod/page/pages/index/index.html index 464a81a0b..cab819bed 100644 --- a/src/addons/mod/page/pages/index/index.html +++ b/src/addons/mod/page/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
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 94e4bcc51..cf49f5b7b 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 @@ - + - + @@ -29,19 +29,18 @@ - + - - - -

{{ rule }}

+ +

{{ rule }}

+
@@ -55,7 +54,7 @@

{{ 'addon.mod_quiz.outof' | translate: { $a: { grade: bestGrade.gradetopass, maxgrade: quiz.gradeFormatted - } } }}

+ } } }}

@@ -96,15 +95,9 @@
- + @@ -142,17 +135,21 @@

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

-

-

+

+ + +

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

-

-

+

+ + +

@@ -163,10 +160,14 @@ -

{{ message }}

+ +

{{ message }}

+
-

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

+ +

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

+
@@ -194,14 +195,6 @@
- - - - - {{ 'core.hasdatatosync' | translate: {$a: moduleName} }} - - - @@ -226,7 +219,9 @@ - + + + diff --git a/src/addons/mod/quiz/components/navigation-modal/navigation-modal.html b/src/addons/mod/quiz/components/navigation-modal/navigation-modal.html index 676df5862..9899cb608 100644 --- a/src/addons/mod/quiz/components/navigation-modal/navigation-modal.html +++ b/src/addons/mod/quiz/components/navigation-modal/navigation-modal.html @@ -1,7 +1,8 @@ -

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

- + +

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

+
@@ -41,12 +42,12 @@ - + + question.stateClass == 'core-question-notanswered'" name="fas-times" color="danger" [attr.aria-label]="question.status" + slot="end">
diff --git a/src/addons/mod/quiz/components/preflight-modal/preflight-modal.html b/src/addons/mod/quiz/components/preflight-modal/preflight-modal.html index 870360c9e..c642e6cc9 100644 --- a/src/addons/mod/quiz/components/preflight-modal/preflight-modal.html +++ b/src/addons/mod/quiz/components/preflight-modal/preflight-modal.html @@ -1,7 +1,8 @@ -

{{ title | translate }}

- + +

{{ title | translate }}

+
diff --git a/src/addons/mod/quiz/pages/attempt/attempt.html b/src/addons/mod/quiz/pages/attempt/attempt.html index e709c561d..adf13e110 100644 --- a/src/addons/mod/quiz/pages/attempt/attempt.html +++ b/src/addons/mod/quiz/pages/attempt/attempt.html @@ -3,11 +3,13 @@ -

- - -

+ +

+ + +

+
@@ -45,8 +47,8 @@

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

- +

diff --git a/src/addons/mod/quiz/pages/index/index.html b/src/addons/mod/quiz/pages/index/index.html index 9fcb5b5c2..9a58a95ff 100644 --- a/src/addons/mod/quiz/pages/index/index.html +++ b/src/addons/mod/quiz/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
diff --git a/src/addons/mod/quiz/pages/player/player.html b/src/addons/mod/quiz/pages/player/player.html index bd8d40246..b234f85ef 100644 --- a/src/addons/mod/quiz/pages/player/player.html +++ b/src/addons/mod/quiz/pages/player/player.html @@ -3,11 +3,13 @@ -

- - -

+ +

+ + +

+
- + @@ -24,8 +25,7 @@ - + @@ -79,10 +79,9 @@ - @@ -92,7 +91,7 @@ - + {{ 'core.previous' | translate }} @@ -131,8 +130,8 @@ + [attr.aria-label]="'core.question.questionno' | translate:{$a: question.number}" [detail]="!isSequential && canReturn" + [button]="!isSequential && canReturn"> {{ question.number }} @@ -153,8 +152,7 @@ - + @@ -165,15 +163,14 @@
- + {{ 'core.openinbrowser' | translate }} - + {{ 'addon.mod_quiz.submitallandfinish' | translate }} diff --git a/src/addons/mod/quiz/pages/review/review.html b/src/addons/mod/quiz/pages/review/review.html index 214c2e0e9..be30538f5 100644 --- a/src/addons/mod/quiz/pages/review/review.html +++ b/src/addons/mod/quiz/pages/review/review.html @@ -3,7 +3,9 @@ -

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

+ +

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

+

{{ data.title }}

- +
@@ -107,8 +109,7 @@ + [contextInstanceId]="cmId" [courseId]="courseId" [review]="true" [preferredBehaviour]="quiz?.preferredbehaviour">
@@ -130,8 +131,7 @@
- + 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 704d31dd1..4c8e7daf6 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,12 +1,12 @@ - + - + - + - - - diff --git a/src/addons/mod/resource/pages/index/index.html b/src/addons/mod/resource/pages/index/index.html index 0a03b540b..ac1c3727e 100644 --- a/src/addons/mod/resource/pages/index/index.html +++ b/src/addons/mod/resource/pages/index/index.html @@ -1,12 +1,14 @@ - + -

- - -

+ +

+ + +

+
@@ -14,8 +16,7 @@
- diff --git a/src/addons/mod/resource/services/handlers/module.ts b/src/addons/mod/resource/services/handlers/module.ts index 69a3d2ce8..275ea61f7 100644 --- a/src/addons/mod/resource/services/handlers/module.ts +++ b/src/addons/mod/resource/services/handlers/module.ts @@ -15,7 +15,7 @@ import { CoreConstants } from '@/core/constants'; import { Injectable, Type } from '@angular/core'; import { CoreModuleHandlerBase } from '@features/course/classes/module-base-handler'; -import { CoreCourse } from '@features/course/services/course'; +import { CoreCourse, CoreCourseWSModule } from '@features/course/services/course'; import { CoreCourseModule } from '@features/course/services/course-helper'; import { CoreCourseModuleHandler, CoreCourseModuleHandlerData } from '@features/course/services/module-delegate'; import { CoreCourseModulePrefetchDelegate } from '@features/course/services/module-prefetch-delegate'; @@ -226,6 +226,32 @@ export class AddonModResourceModuleHandlerService extends CoreModuleHandlerBase }; } + /** + * @inheritdoc + */ + async getIconSrc(module?: CoreCourseWSModule): Promise { + if (!module) { + return; + } + let mimetypeIcon = ''; + + if ('contentsinfo' in module && module.contentsinfo) { + // No need to use the list of files. + const mimetype = module.contentsinfo.mimetypes[0]; + if (mimetype) { + mimetypeIcon = CoreMimetypeUtils.getMimetypeIcon(mimetype); + } + + } else if (module.contents && module.contents[0]) { + const files = module.contents; + const file = files[0]; + + mimetypeIcon = CoreMimetypeUtils.getFileIcon(file.filename || ''); + } + + return await CoreCourse.getModuleIconSrc(module.modname, module.modicon, mimetypeIcon); + } + /** * @inheritdoc */ 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 23c75ba08..f184db40a 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 @@ - + - + @@ -29,14 +29,10 @@ - + - - - @@ -117,14 +113,6 @@ - - - - - {{ 'core.hasdatatosync' | translate: {$a: moduleName} }} - - - @@ -134,8 +122,8 @@ {{ 'addon.mod_scorm.organizations' | translate }} - + {{ org.title }} @@ -155,8 +143,7 @@

{{ currentOrganization.title }}

- +