Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682587
D25424.1734664740.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
998 B
Referenced Files
None
Subscribers
None
D25424.1734664740.diff
View Options
diff --git a/src/view/phui/PHUICurtainObjectRefView.php b/src/view/phui/PHUICurtainObjectRefView.php
--- a/src/view/phui/PHUICurtainObjectRefView.php
+++ b/src/view/phui/PHUICurtainObjectRefView.php
@@ -7,6 +7,7 @@
private $epoch;
private $highlighted;
private $exiled;
+ private $hovercarded = true;
private $exileNote = false;
public function setHandle(PhabricatorObjectHandle $handle) {
@@ -30,6 +31,11 @@
return $this;
}
+ public function setHovercarded($hovercarded) {
+ $this->hovercarded = $hovercarded;
+ return $this;
+ }
+
protected function getTagAttributes() {
$classes = array();
$classes[] = 'phui-curtain-object-ref-view';
@@ -155,7 +161,11 @@
$handle = $this->handle;
if ($handle) {
- $title_view = $handle->renderLink();
+ if ($this->hovercarded) {
+ $title_view = $handle->renderHovercardLink();
+ } else {
+ $title_view = $handle->renderLink();
+ }
}
return $title_view;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 03:19 (18 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016453
Default Alt Text
D25424.1734664740.diff (998 B)
Attached To
Mode
D25424: Curtain: add Hovercard support
Attached
Detach File
Event Timeline
Log In to Comment