diff --git a/src/applications/maniphest/controller/ManiphestReportController.php b/src/applications/maniphest/controller/ManiphestReportController.php index 85bab6ac90..e7ba433fbc 100644 --- a/src/applications/maniphest/controller/ManiphestReportController.php +++ b/src/applications/maniphest/controller/ManiphestReportController.php @@ -258,9 +258,17 @@ final class ManiphestReportController extends ManiphestController { $caption = null; } - $panel = new AphrontPanelView(); - $panel->setHeader($header); - $panel->setCaption($caption); + if ($caption) { + $caption = id(new AphrontErrorView()) + ->appendChild($caption) + ->setSeverity(AphrontErrorView::SEVERITY_NOTICE); + } + + $panel = new PHUIObjectBoxView(); + $panel->setHeaderText($header); + if ($caption) { + $panel->setErrorView($caption); + } $panel->appendChild($table); $tokens = array(); @@ -275,8 +283,9 @@ final class ManiphestReportController extends ManiphestController { 'div', array( 'id' => $id, - 'style' => 'border: 1px solid #6f6f6f; '. - 'margin: 1em 2em; '. + 'style' => 'border: 1px solid #BFCFDA; '. + 'background-color: #fff; '. + 'margin: 8px 16px; '. 'height: 400px; ', ), ''); @@ -628,8 +637,8 @@ final class ManiphestReportController extends ManiphestController { 'closed', )); - $panel = new AphrontPanelView(); - $panel->setHeader($header); + $panel = new PHUIObjectBoxView(); + $panel->setHeaderText($header); $panel->appendChild($table); $tokens = array();