From 6ddb98f8045c8a2b09cdcb103d19e9cf9fed0a37 Mon Sep 17 00:00:00 2001 From: Nick Harper Date: Mon, 5 Mar 2012 11:02:32 -0800 Subject: [PATCH] Add retry count to meta mta view Summary: Show the retry count in the meta mta view (in addition to the list of messages) - I find this info useful when I'm trying to debug what's going on with mail failures. Task ID: # Blame Rev: Test Plan: loaded /mail/view/NNNNN/ and saw the retry count Revert Plan: Tags: Reviewers: epriestley, btrahan, jungejason Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1782 --- .../controller/view/PhabricatorMetaMTAViewController.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/applications/metamta/controller/view/PhabricatorMetaMTAViewController.php b/src/applications/metamta/controller/view/PhabricatorMetaMTAViewController.php index 2aecc5d665..0bf71a4d09 100644 --- a/src/applications/metamta/controller/view/PhabricatorMetaMTAViewController.php +++ b/src/applications/metamta/controller/view/PhabricatorMetaMTAViewController.php @@ -1,7 +1,7 @@ setLabel('Status') ->setValue($status)) + ->appendChild( + id(new AphrontFormStaticControl()) + ->setLabel('Retry Count') + ->setValue($mail->getRetryCount())) ->appendChild( id(new AphrontFormStaticControl()) ->setLabel('Message')