Merge branch 'MDL-85146-main' of https://github.com/sarjona/moodle

This commit is contained in:
ferran
2025-08-20 17:09:30 +02:00
6 changed files with 15 additions and 5 deletions
@@ -0,0 +1,11 @@
issueNumber: MDL-85146
notes:
theme_boost:
- message: >-
The `core:e/text_highlight` and `core:e/text_highlight_picker` icons are
deprecated and will be removed in Moodle 6.0.
The UX team recommended this change to reduce visual clutter and improve
readability. The icons were removed because they didn't indicate status
changes, were repetitive across all notifications, and took up space that
could be used for more content.
type: deprecated
+1
View File
@@ -87,3 +87,4 @@ maxsectionaddmessage,core_courseformat
activities_help,core
resources_help,core
unabletomessage,core_message
notificationimage,core_message
+1 -1
View File
@@ -137,7 +137,6 @@ $string['noparticipants'] = 'No participants';
$string['notificationdatahasnotbeenmigrated'] = 'Your notifications are temporarily unavailable due to upgrades in the notification infrastructure. Please wait for them to be migrated.';
$string['notificationwindow'] = 'Notification window';
$string['notificationpreferences'] = 'Notification preferences';
$string['notificationimage'] = 'Notification image';
$string['notifications'] = 'Notifications';
$string['notificationsmarkedasread'] = 'All notifications are marked as read.';
$string['notincontactsheading'] = '{$a} is not in your contacts';
@@ -286,4 +285,5 @@ $string['yourcontactrequestpending'] = 'Your contact request is pending with {$a
$string['togglenotificationmenu'] = 'Toggle notifications menu';
// Deprecated since Moodle 5.1.
$string['notificationimage'] = 'Notification image';
$string['unabletomessage'] = 'You are unable to message this user';
@@ -528,6 +528,8 @@ class icon_system_fontawesome extends icon_system_font {
'core:e/insert_col_before',
'core:e/split_cells',
'core:e/text_color',
'core:e/text_highlight',
'core:e/text_highlight_picker',
'core:t/locktime',
],
);
@@ -36,6 +36,5 @@
}
}}
<div class="image-container">{{#pix}} e/text_highlight, core, {{#str}} notificationimage, message {{/str}} {{/pix}}</div>
<div class="subject-container">{{subject}}</div>
<div class="timestamp">{{timecreatedpretty}}</div>
@@ -64,9 +64,6 @@
{{^read}}aria-label="{{#str}} unreadnotification, message, {{subject}} {{/str}}"{{/read}}>
<div class="content-item-body">
<div class="notification-image">
{{#pix}} e/text_highlight, core, {{#str}} notificationimage, message {{/str}} {{/pix}}
</div>
<div class="notification-message">{{shortenedsubject}}</div>
</div>
<div class="content-item-footer">