mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Tweak MetaMTA test console a bit for usability
Summary: default check the system send prefernce for immediateness and add more direct text about dameons, with a link to help. Test Plan: looks good Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T726 Differential Revision: https://secure.phabricator.com/D3262
This commit is contained in:
parent
18a8964b03
commit
26ae7b728c
1 changed files with 15 additions and 1 deletions
|
@ -92,6 +92,17 @@ final class PhabricatorMetaMTASendController
|
|||
|
||||
$panel_id = celerity_generate_unique_node_id();
|
||||
|
||||
$phdlink_href = PhabricatorEnv::getDoclink(
|
||||
'article/Managing_Daemons_with_phd.html');
|
||||
|
||||
$phdlink = phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $phdlink_href,
|
||||
'target' => '_blank',
|
||||
),
|
||||
'"phd start"');
|
||||
|
||||
$form = new AphrontFormView();
|
||||
$form->setUser($request->getUser());
|
||||
$form
|
||||
|
@ -149,7 +160,10 @@ final class PhabricatorMetaMTASendController
|
|||
->addCheckbox(
|
||||
'immediately',
|
||||
'1',
|
||||
'Send immediately, not via MetaMTA background script.'))
|
||||
'Send immediately. (Do not enqueue for daemons.)',
|
||||
PhabricatorEnv::getEnvConfig('metamta.send-immediately'))
|
||||
->setCaption('Daemons can be started with '.$phdlink.'.')
|
||||
)
|
||||
->appendChild(
|
||||
id(new AphrontFormSubmitControl())
|
||||
->setValue('Send Mail'));
|
||||
|
|
Loading…
Reference in a new issue