Page MenuHomePhabricator

D15615.id37631.diff
No OneTemporary

D15615.id37631.diff

diff --git a/src/applications/drydock/controller/DrydockConsoleController.php b/src/applications/drydock/controller/DrydockConsoleController.php
--- a/src/applications/drydock/controller/DrydockConsoleController.php
+++ b/src/applications/drydock/controller/DrydockConsoleController.php
@@ -62,19 +62,25 @@
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('Console'));
+ $crumbs->setBorder(true);
$box = id(new PHUIObjectBoxView())
- ->setHeaderText(pht('Drydock Console'))
->setObjectList($menu);
- return $this->buildApplicationPage(
- array(
- $crumbs,
- $box,
- ),
- array(
- 'title' => pht('Drydock Console'),
- ));
+ $title = pht('Drydock Console');
+
+ $header = id(new PHUIHeaderView())
+ ->setHeader($title)
+ ->setHeaderIcon('fa-truck');
+
+ $view = id(new PHUITwoColumnView())
+ ->setHeader($header)
+ ->setFooter($box);
+
+ return $this->newPage()
+ ->setTitle($title)
+ ->setCrumbs($crumbs)
+ ->appendChild($view);
}
}
diff --git a/src/applications/drydock/controller/DrydockRepositoryOperationStatusController.php b/src/applications/drydock/controller/DrydockRepositoryOperationStatusController.php
--- a/src/applications/drydock/controller/DrydockRepositoryOperationStatusController.php
+++ b/src/applications/drydock/controller/DrydockRepositoryOperationStatusController.php
@@ -43,17 +43,10 @@
$this->getApplicationURI('operation/'));
$crumbs->addTextCrumb($title);
- return $this->buildApplicationPage(
- array(
- $crumbs,
- $status_view,
- ),
- array(
- 'title' => array(
- $title,
- pht('Status'),
- ),
- ));
+ return $this->newPage()
+ ->setTitle(pht('Status'))
+ ->setCrumbs($crumbs)
+ ->appendChild($status_view);
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 21, 2:36 AM (21 h, 51 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715114
Default Alt Text
D15615.id37631.diff (1 KB)

Event Timeline