1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-09 22:31:03 +01:00

Restore some title glyphs to new-style applications

Summary: Not all applications' glyphs survived the migration. Restore them.

Test Plan: Looked at Differential, Phriction, Ponder. Saw title glyphs in page titles.

Reviewers: lesha, btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D4489
This commit is contained in:
epriestley 2013-01-17 15:04:57 -08:00
parent 5a65bffe21
commit 141d479104
3 changed files with 12 additions and 0 deletions

View file

@ -24,6 +24,10 @@ final class PhabricatorApplicationDifferential extends PhabricatorApplication {
); );
} }
public function getTitleGlyph() {
return "\xE2\x9A\x99";
}
public function getRoutes() { public function getRoutes() {
return array( return array(
'/D(?P<id>[1-9]\d*)' => 'DifferentialRevisionViewController', '/D(?P<id>[1-9]\d*)' => 'DifferentialRevisionViewController',

View file

@ -22,6 +22,10 @@ final class PhabricatorApplicationPhriction extends PhabricatorApplication {
return PhabricatorEnv::getEnvConfig('phriction.enabled'); return PhabricatorEnv::getEnvConfig('phriction.enabled');
} }
public function getTitleGlyph() {
return "\xE2\x9A\xA1";
}
public function getRoutes() { public function getRoutes() {
return array( return array(
// Match "/w/" with slug "/". // Match "/w/" with slug "/".

View file

@ -20,6 +20,10 @@ final class PhabricatorApplicationPonder extends PhabricatorApplication {
); );
} }
public function getTitleGlyph() {
return "\xE2\x97\xB3";
}
public function loadStatus(PhabricatorUser $user) { public function loadStatus(PhabricatorUser $user) {
// replace with "x new unanswered questions" or some such // replace with "x new unanswered questions" or some such
$status = array(); $status = array();