Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14067724
D14191.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
798 B
Referenced Files
None
Subscribers
None
D14191.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D14191: Show lease owner in Drydock UI
Attached
Detach File
Event Timeline
Log In to Comment