Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14003431
D13746.id33207.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
955 B
Referenced Files
None
Subscribers
None
D13746.id33207.diff
View Options
diff --git a/src/applications/pholio/view/PholioMockThumbGridView.php b/src/applications/pholio/view/PholioMockThumbGridView.php
--- a/src/applications/pholio/view/PholioMockThumbGridView.php
+++ b/src/applications/pholio/view/PholioMockThumbGridView.php
@@ -116,6 +116,7 @@
$preview_key = PhabricatorFileThumbnailTransform::TRANSFORM_THUMBGRID;
$xform = PhabricatorFileTransform::getTransformByKey($preview_key);
+ Javelin::initBehavior('phabricator-tooltips');
$attributes = array(
'class' => 'pholio-mock-thumb-grid-image',
@@ -161,11 +162,13 @@
return javelin_tag(
'a',
array(
- 'sigil' => 'mock-thumbnail',
+ 'sigil' => 'mock-thumbnail has-tooltip',
'class' => implode(' ', $classes),
'href' => '#',
'meta' => array(
'imageID' => $image->getID(),
+ 'tip' => $image->getName(),
+ 'align' => 'N',
),
),
array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 27, 6:07 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718973
Default Alt Text
D13746.id33207.diff (955 B)
Attached To
Mode
D13746: Add toolip to Mock History in Pholio
Attached
Detach File
Event Timeline
Log In to Comment