mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-18 02:31:10 +01:00
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
This commit is contained in:
parent
8f27f4272c
commit
6ddb98f804
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2011 Facebook, Inc.
|
* Copyright 2012 Facebook, Inc.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -52,6 +52,10 @@ class PhabricatorMetaMTAViewController extends PhabricatorMetaMTAController {
|
||||||
id(new AphrontFormStaticControl())
|
id(new AphrontFormStaticControl())
|
||||||
->setLabel('Status')
|
->setLabel('Status')
|
||||||
->setValue($status))
|
->setValue($status))
|
||||||
|
->appendChild(
|
||||||
|
id(new AphrontFormStaticControl())
|
||||||
|
->setLabel('Retry Count')
|
||||||
|
->setValue($mail->getRetryCount()))
|
||||||
->appendChild(
|
->appendChild(
|
||||||
id(new AphrontFormStaticControl())
|
id(new AphrontFormStaticControl())
|
||||||
->setLabel('Message')
|
->setLabel('Message')
|
||||||
|
|
Loading…
Reference in a new issue