From 3e946140d36fe83c321ffd830512a85cbf61d77b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 10 Feb 2014 11:57:25 -0800 Subject: [PATCH] Add Description Header/Icon in Pholio Summary: Add described, simple header and icon with divider. Test Plan: Tested on an existing mock and created a new mock with and without a description. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D8181 --- .../pholio/controller/PholioMockViewController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/applications/pholio/controller/PholioMockViewController.php b/src/applications/pholio/controller/PholioMockViewController.php index e91376830c..aa4c9541ac 100644 --- a/src/applications/pholio/controller/PholioMockViewController.php +++ b/src/applications/pholio/controller/PholioMockViewController.php @@ -219,6 +219,10 @@ final class PholioMockViewController extends PholioController { $properties->invokeWillRenderEvent(); + $properties->addSectionHeader( + pht('Description'), + PHUIPropertyListView::ICON_SUMMARY); + $properties->addImageContent( $engine->getOutput($mock, PholioMock::MARKUP_FIELD_DESCRIPTION));