mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
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
This commit is contained in:
parent
f430232dd0
commit
3e946140d3
1 changed files with 4 additions and 0 deletions
|
@ -219,6 +219,10 @@ final class PholioMockViewController extends PholioController {
|
||||||
|
|
||||||
$properties->invokeWillRenderEvent();
|
$properties->invokeWillRenderEvent();
|
||||||
|
|
||||||
|
$properties->addSectionHeader(
|
||||||
|
pht('Description'),
|
||||||
|
PHUIPropertyListView::ICON_SUMMARY);
|
||||||
|
|
||||||
$properties->addImageContent(
|
$properties->addImageContent(
|
||||||
$engine->getOutput($mock, PholioMock::MARKUP_FIELD_DESCRIPTION));
|
$engine->getOutput($mock, PholioMock::MARKUP_FIELD_DESCRIPTION));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue