mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Fix outdated link to MetaMTA web UI in MetaMTA tasks
Summary: Missed this when moving most MetaMTA responsibilities to the CLI. Show the correct command to get data rather than linking to a 404. Test Plan: {F56733} Reviewers: wez, btrahan, chad Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D6846
This commit is contained in:
parent
b932c606cb
commit
34356c7154
2 changed files with 5 additions and 4 deletions
|
@ -43,9 +43,10 @@ final class PhabricatorMetaMTAWorker
|
||||||
|
|
||||||
public function renderForDisplay() {
|
public function renderForDisplay() {
|
||||||
return phutil_tag(
|
return phutil_tag(
|
||||||
'a',
|
'pre',
|
||||||
array('href' => '/mail/view/'.$this->getTaskData().'/'),
|
array(
|
||||||
$this->getTaskData());
|
),
|
||||||
|
'phabricator/ $ ./bin/mail show-outbound --id '.$this->getTaskData());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,7 @@ final class PhabricatorMailManagementShowOutboundWorkflow
|
||||||
$info[] = null;
|
$info[] = null;
|
||||||
$info[] = pht('ATTACHMENTS');
|
$info[] = pht('ATTACHMENTS');
|
||||||
foreach ($attachments as $attachment) {
|
foreach ($attachments as $attachment) {
|
||||||
$info[] = $attachment['filename'];
|
$info[] = idx($attachment, 'filename', pht('Unnamed File'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue