Differential D21778 Diff 51915 src/applications/auth/controller/PhabricatorAuthSetExternalController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/controller/PhabricatorAuthSetExternalController.php
Show All 36 Lines | if (!$linkable) { | ||||
->addCancelButton('/'); | ->addCancelButton('/'); | ||||
} | } | ||||
$text = PhabricatorAuthMessage::loadMessageText( | $text = PhabricatorAuthMessage::loadMessageText( | ||||
$viewer, | $viewer, | ||||
PhabricatorAuthLinkMessageType::MESSAGEKEY); | PhabricatorAuthLinkMessageType::MESSAGEKEY); | ||||
if (!strlen($text)) { | if (!strlen($text)) { | ||||
$text = pht( | $text = pht( | ||||
'You can link your Phabricator account to an external account to '. | 'You can link your %s account to an external account to '. | ||||
'allow you to log in more easily in the future. To continue, choose '. | 'allow you to log in more easily in the future. To continue, choose '. | ||||
'an account to link below. If you prefer not to link your account, '. | 'an account to link below. If you prefer not to link your account, '. | ||||
'you can skip this step.'); | 'you can skip this step.', | ||||
PlatformSymbols::getPlatformServerName()); | |||||
} | } | ||||
$remarkup_view = new PHUIRemarkupView($viewer, $text); | $remarkup_view = new PHUIRemarkupView($viewer, $text); | ||||
$remarkup_view = phutil_tag( | $remarkup_view = phutil_tag( | ||||
'div', | 'div', | ||||
array( | array( | ||||
'class' => 'phui-object-box-instructions', | 'class' => 'phui-object-box-instructions', | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |