Page MenuHomePhabricator

D18833.diff
No OneTemporary

D18833.diff

diff --git a/src/applications/diffusion/controller/DiffusionBrowseController.php b/src/applications/diffusion/controller/DiffusionBrowseController.php
--- a/src/applications/diffusion/controller/DiffusionBrowseController.php
+++ b/src/applications/diffusion/controller/DiffusionBrowseController.php
@@ -1804,10 +1804,17 @@
// revision. We just render a blank for alignment.
$style = null;
$href = null;
+ $sigil = null;
+ $meta = null;
} else {
$src = $handles[$phid]->getImageURI();
$style = 'background-image: url('.$src.');';
$href = $handles[$phid]->getURI();
+ $sigil = 'has-tooltip';
+ $meta = array(
+ 'tip' => $handles[$phid]->getName(),
+ 'align' => 'E',
+ );
}
$links[$phid] = javelin_tag(
@@ -1816,11 +1823,8 @@
'class' => 'diffusion-author-link',
'style' => $style,
'href' => $href,
- 'sigil' => 'has-tooltip',
- 'meta' => array(
- 'tip' => $handles[$phid]->getName(),
- 'align' => 'E',
- ),
+ 'sigil' => $sigil,
+ 'meta' => $meta,
));
}

File Metadata

Mime Type
text/plain
Expires
Mon, May 13, 10:18 PM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6288686
Default Alt Text
D18833.diff (1 KB)

Event Timeline