1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 10:12:41 +01:00

Rebrand: Add "path" entries to PlatformSymbols

Summary: Ref T15006. Change a few places that were mentioning `phabricator` path.

Test Plan: Mk1 eyeball on each effected page.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15006

Differential Revision: https://we.phorge.it/D25343
This commit is contained in:
Aviv Eyal 2023-08-18 02:00:06 -07:00
parent 7c58ea1403
commit ad0052fcd6
5 changed files with 14 additions and 7 deletions

View file

@ -171,7 +171,8 @@ final class PhabricatorDaemonLogViewController
phutil_tag( phutil_tag(
'tt', 'tt',
array(), array(),
"phabricator/ $ ./bin/phd log --id {$id}")); PlatformSymbols::getPlatformServerPath().
" $ ./bin/phd log --id {$id}"));
return $view; return $view;

View file

@ -28,7 +28,8 @@ final class DiffusionRepositoryEditDeleteController
'the command line:')) 'the command line:'))
->appendCommand( ->appendCommand(
csprintf( csprintf(
'phabricator/ $ ./bin/remove destroy %R', '%s $ ./bin/remove destroy %R',
PlatformSymbols::getPlatformServerPath(),
$repository->getMonogram())) $repository->getMonogram()))
->appendParagraph( ->appendParagraph(
pht( pht(

View file

@ -45,9 +45,10 @@ final class PhabricatorMetaMTAWorker
public function renderForDisplay(PhabricatorUser $viewer) { public function renderForDisplay(PhabricatorUser $viewer) {
return phutil_tag( return phutil_tag(
'pre', 'pre',
array( array(),
), PlatformSymbols::getPlatformServerPath().
'phabricator/ $ ./bin/mail show-outbound --id '.$this->getTaskData()); ' $ ./bin/mail show-outbound --id '.
$this->getTaskData());
} }
} }

View file

@ -62,6 +62,10 @@ final class PhabricatorRepositoryQuery
$slugs = array(); $slugs = array();
foreach ($identifiers as $identifier) { foreach ($identifiers as $identifier) {
if ($identifier === null) {
continue;
}
if (ctype_digit((string)$identifier)) { if (ctype_digit((string)$identifier)) {
$ids[$identifier] = $identifier; $ids[$identifier] = $identifier;
continue; continue;

View file

@ -68,11 +68,11 @@ final class PhutilRemarkupEvalRule extends PhutilRemarkupRule {
'platform' => array( 'platform' => array(
'server' => array( 'server' => array(
'name' => PlatformSymbols::getPlatformServerName(), 'name' => PlatformSymbols::getPlatformServerName(),
'path' => pht('phabricator/'), 'path' => PlatformSymbols::getPlatformServerPath(),
), ),
'client' => array( 'client' => array(
'name' => PlatformSymbols::getPlatformClientName(), 'name' => PlatformSymbols::getPlatformClientName(),
'path' => pht('arcanist/'), 'path' => PlatformSymbols::getPlatformClientPath(),
), ),
), ),
), ),