mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-09 14:21:02 +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:
parent
5a65bffe21
commit
141d479104
3 changed files with 12 additions and 0 deletions
|
@ -24,6 +24,10 @@ final class PhabricatorApplicationDifferential extends PhabricatorApplication {
|
|||
);
|
||||
}
|
||||
|
||||
public function getTitleGlyph() {
|
||||
return "\xE2\x9A\x99";
|
||||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
'/D(?P<id>[1-9]\d*)' => 'DifferentialRevisionViewController',
|
||||
|
|
|
@ -22,6 +22,10 @@ final class PhabricatorApplicationPhriction extends PhabricatorApplication {
|
|||
return PhabricatorEnv::getEnvConfig('phriction.enabled');
|
||||
}
|
||||
|
||||
public function getTitleGlyph() {
|
||||
return "\xE2\x9A\xA1";
|
||||
}
|
||||
|
||||
public function getRoutes() {
|
||||
return array(
|
||||
// Match "/w/" with slug "/".
|
||||
|
|
|
@ -20,6 +20,10 @@ final class PhabricatorApplicationPonder extends PhabricatorApplication {
|
|||
);
|
||||
}
|
||||
|
||||
public function getTitleGlyph() {
|
||||
return "\xE2\x97\xB3";
|
||||
}
|
||||
|
||||
public function loadStatus(PhabricatorUser $user) {
|
||||
// replace with "x new unanswered questions" or some such
|
||||
$status = array();
|
||||
|
|
Loading…
Reference in a new issue