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:
@@ -117,7 +117,8 @@ final class DrydockResourceViewController extends DrydockResourceController {
|
||||
|
||||
$attributes = $resource->getAttributes();
|
||||
if ($attributes) {
|
||||
$view->addSectionHeader(pht('Attributes'));
|
||||
$view->addSectionHeader(
|
||||
pht('Attributes'), 'fa-list-ul');
|
||||
foreach ($attributes as $key => $value) {
|
||||
$view->addProperty($key, $value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user