Add objectheaders to new View

Summary: This adds the 'PHUIObjectBox' to nearly every place that should get it. I need to comb through Diffusion a little more. I've left Differential mostly alone, but may decide to do it anyways this weekend. I'm sure I missed something else, but these are easy enough to update.

Test Plan: tested each new layout.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: Korvin, aran

Differential Revision: https://secure.phabricator.com/D7162
This commit is contained in:
Chad Little
2013-09-28 15:55:38 -07:00
parent 0318cadad4
commit 94d0704fdb
61 changed files with 526 additions and 365 deletions

View File

@@ -72,6 +72,11 @@ final class DiffusionHistoryController extends DiffusionController {
$actions = $this->buildActionView($drequest);
$properties = $this->buildPropertyView($drequest);
$object_box = id(new PHUIObjectBoxView())
->setHeader($header)
->addContent($actions)
->addContent($properties);
$crumbs = $this->buildCrumbs(
array(
'branch' => true,
@@ -82,9 +87,7 @@ final class DiffusionHistoryController extends DiffusionController {
return $this->buildApplicationPage(
array(
$crumbs,
$header,
$actions,
$properties,
$object_box,
$content,
),
array(