Differential D19428 Diff 46475 src/applications/owners/controller/PhabricatorOwnersDetailController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/controller/PhabricatorOwnersDetailController.php
| Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | private function buildPackageDetailView( | ||||
| if ($package->getAuditingEnabled()) { | if ($package->getAuditingEnabled()) { | ||||
| $auditing = pht('Enabled'); | $auditing = pht('Enabled'); | ||||
| } else { | } else { | ||||
| $auditing = pht('Disabled'); | $auditing = pht('Disabled'); | ||||
| } | } | ||||
| $view->addProperty(pht('Auditing'), $auditing); | $view->addProperty(pht('Auditing'), $auditing); | ||||
| $ignored = $package->getIgnoredPathAttributes(); | |||||
| $ignored = array_keys($ignored); | |||||
| if ($ignored) { | |||||
| $ignored = implode(', ', $ignored); | |||||
| } else { | |||||
| $ignored = phutil_tag('em', array(), pht('None')); | |||||
| } | |||||
| $view->addProperty(pht('Ignored Attributes'), $ignored); | |||||
| $description = $package->getDescription(); | $description = $package->getDescription(); | ||||
| if (strlen($description)) { | if (strlen($description)) { | ||||
| $description = new PHUIRemarkupView($viewer, $description); | $description = new PHUIRemarkupView($viewer, $description); | ||||
| $view->addSectionHeader(pht('Description')); | $view->addSectionHeader(pht('Description')); | ||||
| $view->addTextContent($description); | $view->addTextContent($description); | ||||
| } | } | ||||
| $field_list->appendFieldsToPropertyList( | $field_list->appendFieldsToPropertyList( | ||||
| ▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines | |||||