Add a "Mark All Read" button for notifications
Summary: Adds a button to mark everything as read. Test Plan: Clicked button. Reviewers: btrahan, jungejason, vrana Reviewed By: btrahan CC: aran Maniphest Tasks: T974 Differential Revision: https://secure.phabricator.com/D2812
This commit is contained in:
@@ -43,6 +43,15 @@ final class PhabricatorNotificationListController
|
||||
|
||||
$panel = new AphrontPanelView();
|
||||
$panel->setHeader('Notifications');
|
||||
$panel->addButton(
|
||||
javelin_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/notification/clear/',
|
||||
'class' => 'button',
|
||||
'sigil' => 'workflow',
|
||||
),
|
||||
'Mark All Read'));
|
||||
$panel->appendChild($view);
|
||||
$panel->appendChild($pager);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user