mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-28 09:42:41 +01:00
8b06804394
Summary: Not used anymore Test Plan: grep for 'getIconName' Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: hach-que, Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11582
46 lines
952 B
PHP
46 lines
952 B
PHP
<?php
|
|
|
|
final class PhabricatorTokensApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('Tokens');
|
|
}
|
|
|
|
public function getBaseURI() {
|
|
return '/token/';
|
|
}
|
|
|
|
public function getFontIcon() {
|
|
return 'fa-trophy';
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return "\xE2\x99\xA6";
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Award and Acquire Trinkets');
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_UTILITIES;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/token/' => array(
|
|
'' => 'PhabricatorTokenGivenController',
|
|
'given/' => 'PhabricatorTokenGivenController',
|
|
'give/(?<phid>[^/]+)/' => 'PhabricatorTokenGiveController',
|
|
'leaders/' => 'PhabricatorTokenLeaderController',
|
|
),
|
|
);
|
|
}
|
|
|
|
public function getEventListeners() {
|
|
return array(
|
|
new PhabricatorTokenUIEventListener(),
|
|
);
|
|
}
|
|
|
|
}
|