From 5e2de5352255ff1ff95ffb73ec9c11ac4e62c5cf Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 4 Nov 2013 08:54:00 -0800 Subject: [PATCH] Touch up Phriction History page Summary: Adds an ObjectBox. Fixes T4047 Test Plan: View updated Phriction History Page. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Maniphest Tasks: T4047 Differential Revision: https://secure.phabricator.com/D7487 --- .../phriction/controller/PhrictionHistoryController.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/applications/phriction/controller/PhrictionHistoryController.php b/src/applications/phriction/controller/PhrictionHistoryController.php index d260fbfb5d..53add915d2 100644 --- a/src/applications/phriction/controller/PhrictionHistoryController.php +++ b/src/applications/phriction/controller/PhrictionHistoryController.php @@ -151,12 +151,15 @@ final class PhrictionHistoryController array('href' => PhrictionDocument::getSlugURI($document->getSlug())), head($history)->getTitle()))); + $obj_box = id(new PHUIObjectBoxView()) + ->setHeader($header) + ->appendChild($list) + ->appendChild($pager); + return $this->buildApplicationPage( array( $crumbs, - $header, - $list, - $pager, + $obj_box, ), array( 'title' => pht('Document History'),