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:
@@ -294,7 +294,8 @@ final class DiffusionRepositoryEditMainController
|
||||
$this->buildRepositoryUpdateInterval($repository));
|
||||
|
||||
$description = $repository->getDetail('description');
|
||||
$view->addSectionHeader(pht('Description'));
|
||||
$view->addSectionHeader(
|
||||
pht('Description'), PHUIPropertyListView::ICON_SUMMARY);
|
||||
if (!strlen($description)) {
|
||||
$description = phutil_tag('em', array(), pht('No description provided.'));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user