1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +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:
epriestley 2013-08-29 17:37:17 -07:00
parent b932c606cb
commit 34356c7154
2 changed files with 5 additions and 4 deletions

View file

@ -43,9 +43,10 @@ final class PhabricatorMetaMTAWorker
public function renderForDisplay() {
return phutil_tag(
'a',
array('href' => '/mail/view/'.$this->getTaskData().'/'),
$this->getTaskData());
'pre',
array(
),
'phabricator/ $ ./bin/mail show-outbound --id '.$this->getTaskData());
}
}

View file

@ -90,7 +90,7 @@ final class PhabricatorMailManagementShowOutboundWorkflow
$info[] = null;
$info[] = pht('ATTACHMENTS');
foreach ($attachments as $attachment) {
$info[] = $attachment['filename'];
$info[] = idx($attachment, 'filename', pht('Unnamed File'));
}
}