Differential D25002 Diff 39 src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/application/PhabricatorOAuthServerApplication.php
Show All 17 Lines | public function getIcon() { | ||||
return 'fa-hotel'; | return 'fa-hotel'; | ||||
} | } | ||||
public function getTitleGlyph() { | public function getTitleGlyph() { | ||||
return "\xE2\x99\x86"; | return "\xE2\x99\x86"; | ||||
} | } | ||||
public function getFlavorText() { | public function getFlavorText() { | ||||
return pht('Log In with Phabricator'); | return pht('Log In with %s', PhabricatorPlatformSite::getName()); | ||||
} | } | ||||
public function getApplicationGroup() { | public function getApplicationGroup() { | ||||
return self::GROUP_ADMIN; | return self::GROUP_ADMIN; | ||||
} | } | ||||
public function isPrototype() { | public function isPrototype() { | ||||
return true; | return true; | ||||
} | } | ||||
public function getHelpDocumentationArticles(PhabricatorUser $viewer) { | public function getHelpDocumentationArticles(PhabricatorUser $viewer) { | ||||
return array( | return array( | ||||
array( | array( | ||||
'name' => pht('Using the Phabricator OAuth Server'), | 'name' => pht('Using the %s OAuth Server', | ||||
PhabricatorPlatformSite::getName()), | |||||
'href' => PhabricatorEnv::getDoclink( | 'href' => PhabricatorEnv::getDoclink( | ||||
'Using the Phabricator OAuth Server'), | 'Using the Phabricator OAuth Server'), | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
Show All 26 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0