Differential D13799 Diff 33327 src/applications/passphrase/controller/PassphraseCredentialViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/passphrase/controller/PassphraseCredentialViewController.php
Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Lines | $used_by_phids = PhabricatorEdgeQuery::loadDestinationPHIDs( | ||||
PhabricatorCredentialsUsedByObjectEdgeType::EDGECONST); | PhabricatorCredentialsUsedByObjectEdgeType::EDGECONST); | ||||
if ($used_by_phids) { | if ($used_by_phids) { | ||||
$properties->addProperty( | $properties->addProperty( | ||||
pht('Used By'), | pht('Used By'), | ||||
$viewer->renderHandleList($used_by_phids)); | $viewer->renderHandleList($used_by_phids)); | ||||
} | } | ||||
$properties->invokeWillRenderEvent(); | |||||
$description = $credential->getDescription(); | $description = $credential->getDescription(); | ||||
if (strlen($description)) { | if (strlen($description)) { | ||||
$properties->addSectionHeader( | $properties->addSectionHeader( | ||||
pht('Description'), | pht('Description'), | ||||
PHUIPropertyListView::ICON_SUMMARY); | PHUIPropertyListView::ICON_SUMMARY); | ||||
$properties->addTextContent( | $properties->addTextContent( | ||||
PhabricatorMarkupEngine::renderOneObject( | PhabricatorMarkupEngine::renderOneObject( | ||||
id(new PhabricatorMarkupOneOff()) | id(new PhabricatorMarkupOneOff()) | ||||
Show All 9 Lines |