Merge "Only the 'Notifications' part of the header should be bold"

This commit is contained in:
jenkins-bot 2013-04-26 00:43:11 +00:00 committed by Gerrit Code Review
commit f89a7b2c88
3 changed files with 6 additions and 9 deletions

View file

@ -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.

View file

@ -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 {

View file

@ -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