Page MenuHomePhabricator

D18681.diff
No OneTemporary

D18681.diff

diff --git a/src/infrastructure/graph/ManiphestTaskGraph.php b/src/infrastructure/graph/ManiphestTaskGraph.php
--- a/src/infrastructure/graph/ManiphestTaskGraph.php
+++ b/src/infrastructure/graph/ManiphestTaskGraph.php
@@ -27,6 +27,8 @@
protected function newTableRow($phid, $object, $trace) {
$viewer = $this->getViewer();
+ Javelin::initBehavior('phui-hovercards');
+
if ($object) {
$status = $object->getStatus();
$priority = $object->getPriority();
@@ -51,15 +53,16 @@
$assigned = phutil_tag('em', array(), pht('None'));
}
- $full_title = $object->getTitle();
-
- $link = phutil_tag(
+ $link = javelin_tag(
'a',
array(
'href' => $object->getURI(),
- 'title' => $full_title,
+ 'sigil' => 'hovercard',
+ 'meta' => array(
+ 'hoverPHID' => $object->getPHID(),
+ ),
),
- $full_title);
+ $object->getTitle());
$link = array(
phutil_tag(

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 5:09 AM (21 h, 19 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6986374
Default Alt Text
D18681.diff (1018 B)

Event Timeline