Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15414463
D8894.id21103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D8894.id21103.diff
View Options
diff --git a/src/applications/conpherence/controller/ConpherenceNotificationPanelController.php b/src/applications/conpherence/controller/ConpherenceNotificationPanelController.php
--- a/src/applications/conpherence/controller/ConpherenceNotificationPanelController.php
+++ b/src/applications/conpherence/controller/ConpherenceNotificationPanelController.php
@@ -81,7 +81,12 @@
'<div class="phabricator-notification-header">%s</div>'.
'%s'.
'<div class="phabricator-notification-view-all">%s</div>',
- pht('Messages'),
+ phutil_tag(
+ 'a',
+ array(
+ 'href' => '/conpherence/',
+ ),
+ pht('Messages')),
$content,
phutil_tag(
'a',
diff --git a/src/applications/notification/controller/PhabricatorNotificationPanelController.php b/src/applications/notification/controller/PhabricatorNotificationPanelController.php
--- a/src/applications/notification/controller/PhabricatorNotificationPanelController.php
+++ b/src/applications/notification/controller/PhabricatorNotificationPanelController.php
@@ -28,15 +28,27 @@
$content = hsprintf(
'<div class="phabricator-notification-header">%s</div>'.
'%s'.
- '<div class="phabricator-notification-view-all">%s</div>',
- pht('Notifications'),
+ '<div class="phabricator-notification-view-all">%s • %s</div>',
+ phutil_tag(
+ 'a',
+ array(
+ 'href' => '/notification/',
+ ),
+ pht('Notifications')),
$content,
phutil_tag(
'a',
array(
'href' => '/notification/',
),
- pht('View All Notifications')));
+ pht('View All Notifications')),
+ javelin_tag(
+ 'a',
+ array(
+ 'sigil' => 'workflow',
+ 'href' => '/notification/clear/'
+ ),
+ pht('Clear All Notifications')));
$unread_count = id(new PhabricatorFeedStoryNotification())
->countUnread($user);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 21, 12:41 AM (2 d, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7714687
Default Alt Text
D8894.id21103.diff (1 KB)
Attached To
Mode
D8894: Notifications - add a "Clear All Notifications" link to dropdown
Attached
Detach File
Event Timeline
Log In to Comment