1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Add tooltips to Conphrence Chatroom switcher icons

Summary: I don't know the names of all the Conpherences I have ongoing and all my test icons are Psyducks. haha ha ...

Test Plan: Hover over icons, now it's all Psyduck and [No Title].

Reviewers: epriestley, btrahan

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D12050
This commit is contained in:
Chad Little 2015-03-12 11:11:00 -07:00
parent e7b09fe5fe
commit bcc6d90e7b

View file

@ -190,16 +190,19 @@ final class ConpherenceDurableColumnView extends AphrontTagView {
}
$data = $conpherence->getDisplayData($this->getUser());
$image = $data['image'];
Javelin::initBehavior('phabricator-tooltips');
$icons[] =
javelin_tag(
'a',
array(
'href' => '/conpherence/columnview/',
'class' => implode(' ', $classes),
'sigil' => 'conpherence-durable-column-thread-icon',
'sigil' => 'conpherence-durable-column-thread-icon has-tooltip',
'meta' => array(
'threadID' => $conpherence->getID(),
'threadTitle' => $data['js_title'],
'tip' => $data['js_title'],
'align' => 'S',
),
),
phutil_tag(