Page MenuHomePhabricator

D9232.diff
No OneTemporary

D9232.diff

diff --git a/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php b/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardPanelRenderController.php
@@ -54,10 +54,14 @@
->addTextCrumb($panel->getMonogram(), '/'.$panel->getMonogram())
->addTextCrumb(pht('Standalone View'));
+ $view = id(new PHUIBoxView())
+ ->addMargin(PHUI::MARGIN_LARGE)
+ ->appendChild($rendered_panel);
+
return $this->buildApplicationPage(
array(
$crumbs,
- $rendered_panel,
+ $view,
),
array(
'title' => array(pht('Panel'), $panel->getName()),
diff --git a/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php b/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
--- a/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
+++ b/src/applications/dashboard/controller/PhabricatorDashboardPanelViewController.php
@@ -44,12 +44,17 @@
->setParentPanelPHIDs(array())
->renderPanel();
+ $view = id(new PHUIBoxView())
+ ->addMargin(PHUI::MARGIN_LARGE_LEFT)
+ ->addMargin(PHUI::MARGIN_LARGE_RIGHT)
+ ->appendChild($rendered_panel);
+
return $this->buildApplicationPage(
array(
$crumbs,
$box,
$timeline,
- $rendered_panel,
+ $view,
),
array(
'title' => $title,

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 5, 10:27 AM (1 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6293573
Default Alt Text
D9232.diff (1 KB)

Event Timeline