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

@@ -103,12 +103,15 @@ final class PholioMockViewController extends PholioController {
->setName('M'.$mock->getID())
->setHref('/M'.$mock->getID()));
$object_box = id(new PHUIObjectBoxView())
->setHeader($header)
->addContent($actions)
->addContent($properties);
$content = array(
$crumbs,
$image_status,
$header,
$actions,
$properties,
$object_box,
$output->render(),
$xaction_view,
$add_comment,
@@ -251,10 +254,10 @@ final class PholioMockViewController extends PholioController {
->setAction($this->getApplicationURI('/comment/'.$mock->getID().'/'))
->setRequestURI($this->getRequest()->getRequestURI());
return array(
$header,
$form,
);
return id(new PHUIObjectBoxView())
->setFlush(true)
->setHeader($header)
->addContent($form);
}
}