Add a list of all notifications

Summary: Add a "View All Notifications" link and page.

Test Plan: Viewed all notifications

Reviewers: jungejason, vrana

Reviewed By: jungejason

CC: aran

Maniphest Tasks: T974

Differential Revision: https://secure.phabricator.com/D2780
This commit is contained in:
epriestley
2012-06-18 14:07:38 -07:00
parent 656c82f9b8
commit 8cd0997965
6 changed files with 81 additions and 13 deletions

View File

@@ -48,6 +48,16 @@ final class PhabricatorNotificationPanelController
'</div>';
}
$content .=
'<div class="phabricator-notification view-all-notifications">'.
phutil_render_tag(
'a',
array(
'href' => '/notification/',
),
'View All Notifications').
'</div>';
$json = array(
'content' => $content,
'number' => $num_unconsumed,