1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +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(
'tt',
array(),
"phabricator/ $ ./bin/phd log --id {$id}"));
PlatformSymbols::getPlatformServerPath().
" $ ./bin/phd log --id {$id}"));
return $view;

View file

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

View file

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

View file

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

View file

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