Make icon setting in Section Headers easier/consistent

Summary: You can already pass other icons, but this makes it a bit simpler.

Test Plan: Test Maniphest, Badges

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14131
This commit is contained in:
Chad Little
2015-09-19 11:29:01 -07:00
parent 9c43853815
commit 666f19e504
16 changed files with 36 additions and 21 deletions

View File

@@ -289,7 +289,8 @@ final class DiffusionRepositoryController extends DiffusionController {
$repository,
'description',
$user);
$view->addSectionHeader(pht('Description'));
$view->addSectionHeader(
pht('Description'), PHUIPropertyListView::ICON_SUMMARY);
$view->addTextContent($description);
}