mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 02:02:41 +01:00
5dc48c2b4a
Summary: Added phts, tested forms on mobile. Test Plan: Review each page in Chrome and iOS. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4702
42 lines
995 B
PHP
42 lines
995 B
PHP
<?php
|
|
|
|
final class PhabricatorApplicationMetaMTA extends PhabricatorApplication {
|
|
|
|
public function getBaseURI() {
|
|
return '/mail/';
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('View Mail Logs');
|
|
}
|
|
|
|
public function getIconName() {
|
|
return 'metamta';
|
|
}
|
|
|
|
public function getFlavorText() {
|
|
return pht('Yo dawg, we heard you like MTAs.');
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_ADMIN;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
$this->getBaseURI() => array(
|
|
'' => 'PhabricatorMetaMTAListController',
|
|
'send/' => 'PhabricatorMetaMTASendController',
|
|
'view/(?P<id>[1-9]\d*)/' => 'PhabricatorMetaMTAViewController',
|
|
'receive/' => 'PhabricatorMetaMTAReceiveController',
|
|
'received/' => 'PhabricatorMetaMTAReceivedListController',
|
|
'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
|
|
),
|
|
);
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return '@';
|
|
}
|
|
|
|
}
|