Page MenuHomePhorge

D25424.1734664740.diff
No OneTemporary

D25424.1734664740.diff

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

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)

Event Timeline