mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52: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:
parent
7c58ea1403
commit
ad0052fcd6
5 changed files with 14 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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(),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue