Differential D21788 Diff 51926 src/applications/people/controller/PhabricatorPeopleWelcomeController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/controller/PhabricatorPeopleWelcomeController.php
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | if ($default_message && strlen($default_message->getMessageText())) { | ||||
'include additional text in the mail body by specifying it below.'); | 'include additional text in the mail body by specifying it below.'); | ||||
} | } | ||||
$form = id(new AphrontFormView()) | $form = id(new AphrontFormView()) | ||||
->setViewer($admin) | ->setViewer($admin) | ||||
->appendRemarkupInstructions( | ->appendRemarkupInstructions( | ||||
pht( | pht( | ||||
'This workflow will send this user ("%s") a copy of the "Welcome to '. | 'This workflow will send this user ("%s") a copy of the "Welcome to '. | ||||
'Phabricator" email that users normally receive when their '. | '%s" email that users normally receive when their '. | ||||
'accounts are created by an administrator.', | 'accounts are created by an administrator.', | ||||
$user->getUsername())) | $user->getUsername(), | ||||
PlatformSymbols::getPlatformServerName())) | |||||
->appendRemarkupInstructions( | ->appendRemarkupInstructions( | ||||
pht( | pht( | ||||
'The email will contain a link that the user may use to log in '. | 'The email will contain a link that the user may use to log in '. | ||||
'to their account. This link bypasses authentication requirements '. | 'to their account. This link bypasses authentication requirements '. | ||||
'and allows them to log in without credentials. Sending a copy of '. | 'and allows them to log in without credentials. Sending a copy of '. | ||||
'this email can be useful if the original was lost or never sent.')) | 'this email can be useful if the original was lost or never sent.')) | ||||
->appendRemarkupInstructions($message_instructions) | ->appendRemarkupInstructions($message_instructions) | ||||
->appendControl( | ->appendControl( | ||||
Show All 14 Lines |