Page MenuHomePhabricator

D14191.diff
No OneTemporary

D14191.diff

diff --git a/src/applications/drydock/controller/DrydockLeaseViewController.php b/src/applications/drydock/controller/DrydockLeaseViewController.php
--- a/src/applications/drydock/controller/DrydockLeaseViewController.php
+++ b/src/applications/drydock/controller/DrydockLeaseViewController.php
@@ -119,6 +119,14 @@
pht('Resource Type'),
$lease->getResourceType());
+ $owner_phid = $lease->getOwnerPHID();
+ if ($owner_phid) {
+ $owner_display = $viewer->renderHandle($owner_phid);
+ } else {
+ $owner_display = phutil_tag('em', array(), pht('No Owner'));
+ }
+ $view->addProperty(pht('Owner'), $owner_display);
+
$resource_phid = $lease->getResourcePHID();
if ($resource_phid) {
$resource_display = $viewer->renderHandle($resource_phid);

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 4:23 PM (21 h, 54 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6769498
Default Alt Text
D14191.diff (798 B)

Event Timeline