mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-13 07:18:35 +01:00
Summary: Ref T4324. Currently, it's a bit of a pain to send yourself notifications, and often involves multiple browsers. Instead, add a button to send them. Test Plan: {F114495} Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4324 Differential Revision: https://secure.phabricator.com/D8255
31 lines
827 B
PHP
31 lines
827 B
PHP
<?php
|
|
|
|
final class PhabricatorApplicationNotifications extends PhabricatorApplication {
|
|
|
|
public function getBaseURI() {
|
|
return '/notification/';
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Beep Beep Bloop');
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/notification/' => array(
|
|
'(?:(?P<filter>all|unread)/)?'
|
|
=> 'PhabricatorNotificationListController',
|
|
'panel/' => 'PhabricatorNotificationPanelController',
|
|
'individual/' => 'PhabricatorNotificationIndividualController',
|
|
'status/' => 'PhabricatorNotificationStatusController',
|
|
'clear/' => 'PhabricatorNotificationClearController',
|
|
'test/' => 'PhabricatorNotificationTestController',
|
|
),
|
|
);
|
|
}
|
|
|
|
public function shouldAppearInLaunchView() {
|
|
return false;
|
|
}
|
|
|
|
}
|