Show a count (like "(3)") in the page title corresponding to unread notifications/messages
Summary: Fixes T5368. Synchronizes the page title to reflect unread counts in the notification and Conphernece messages menus.
Test Plan: {F201083}
Reviewers: btrahan
Reviewed By: btrahan
Subscribers: epriestley
Maniphest Tasks: T5368
Differential Revision: https://secure.phabricator.com/D10457
This commit is contained in:
@@ -349,6 +349,8 @@ final class PhabricatorMainMenuView extends AphrontView {
|
||||
'dropdownID' => $message_dropdown_id,
|
||||
'loadingText' => pht('Loading...'),
|
||||
'uri' => '/conpherence/panel/',
|
||||
'countType' => 'messages',
|
||||
'countNumber' => $message_count_number,
|
||||
));
|
||||
|
||||
$message_notification_dropdown = javelin_tag(
|
||||
@@ -428,6 +430,8 @@ final class PhabricatorMainMenuView extends AphrontView {
|
||||
'dropdownID' => $dropdown_id,
|
||||
'loadingText' => pht('Loading...'),
|
||||
'uri' => '/notification/panel/',
|
||||
'countType' => 'notifications',
|
||||
'countNumber' => $count_number,
|
||||
));
|
||||
|
||||
$notification_dropdown = javelin_tag(
|
||||
|
||||
Reference in New Issue
Block a user