mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
Merge "Only the 'Notifications' part of the header should be bold"
This commit is contained in:
commit
f89a7b2c88
|
@ -143,8 +143,8 @@ $1',
|
|||
'echo-link-new' => '$1 new {{PLURAL:$1|notification|notifications}}',
|
||||
'echo-link' => 'Notifications',
|
||||
'echo-overlay-link' => 'All notifications',
|
||||
'echo-overlay-title' => 'Notifications',
|
||||
'echo-overlay-title-overflow' => 'Notifications (showing $1 of $2 unread)',
|
||||
'echo-overlay-title' => '<b>Notifications</b>',
|
||||
'echo-overlay-title-overflow' => '<b>Notifications</b> (showing $1 of $2 unread)',
|
||||
'echo-mark-all-as-read' => 'Mark all as read',
|
||||
|
||||
// Special page
|
||||
|
@ -483,12 +483,10 @@ The new notification count next to notification link, for example: 99+
|
|||
{{Identical|Notification}}',
|
||||
'echo-overlay-link' => 'Link to "all notifications" at the bottom of the overlay.
|
||||
{{Identical|All notifications}}',
|
||||
'echo-overlay-title' => 'Title at the top of the notifications overlay.
|
||||
{{Identical|Notification}}',
|
||||
'echo-overlay-title' => 'Title at the top of the notifications overlay. Should include bold tags.',
|
||||
'echo-overlay-title-overflow' => 'Title at the top of the notifications overlay when there are additional unread notifications that are not being shown. Parameters:
|
||||
* $1 - the number of unread notifications being shown
|
||||
* $2 - the total number of unread notifications that exist
|
||||
{{Identical|Notification}}',
|
||||
* $2 - the total number of unread notifications that exist',
|
||||
'echo-mark-all-as-read' => 'Text for button that marks all unread notifications as read. Keep this short as possible.
|
||||
{{Identical|Mark all as read}}',
|
||||
'echo-date-today' => "The header text for today's notification section.
|
||||
|
|
|
@ -62,7 +62,6 @@
|
|||
height: 15px;
|
||||
padding: 15px 15px 15px 28px;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
font-weight: bold;
|
||||
position: relative;
|
||||
}
|
||||
#mw-echo-overlay-title-text {
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
count = result.query.notifications.count;
|
||||
mw.echo.overlay.updateCount( count );
|
||||
// Reset header to 'Notifications'
|
||||
$( '#mw-echo-overlay-title-text').text( mw.msg( 'echo-overlay-title' ) );
|
||||
$( '#mw-echo-overlay-title-text').msg( 'echo-overlay-title' );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
@ -135,7 +135,7 @@
|
|||
// Add the header to the title area
|
||||
$( '<div/>' )
|
||||
.attr( 'id', 'mw-echo-overlay-title-text' )
|
||||
.text( titleText )
|
||||
.html( titleText )
|
||||
.appendTo( $title );
|
||||
|
||||
// Add help button
|
||||
|
|
Loading…
Reference in a new issue