mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 19:52:44 +01:00
41 lines
889 B
PHP
41 lines
889 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorApplicationDashboard extends PhabricatorApplication {
|
||
|
|
||
|
public function getBaseURI() {
|
||
|
return '/dashboard/';
|
||
|
}
|
||
|
|
||
|
public function getShortDescription() {
|
||
|
return pht('Such Data');
|
||
|
}
|
||
|
|
||
|
public function getIconName() {
|
||
|
return 'dashboard';
|
||
|
}
|
||
|
|
||
|
public function getRoutes() {
|
||
|
return array(
|
||
|
'/W(?P<id>\d+)' => 'PhabricatorDashboardPanelViewController',
|
||
|
'/dashboard/' => array(
|
||
|
'(?:query/(?P<queryKey>[^/]+)/)?'
|
||
|
=> 'PhabricatorDashboardListController',
|
||
|
'view/(?P<id>\d+)/' => 'PhabricatorDashboardViewController',
|
||
|
'panel/' => array(
|
||
|
'(?:query/(?P<queryKey>[^/]+)/)?'
|
||
|
=> 'PhabricatorDashboardPanelListController',
|
||
|
),
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
public function shouldAppearInLaunchView() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public function canUninstall() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
}
|