mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-03 20:22:46 +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:
parent
e7b09fe5fe
commit
bcc6d90e7b
1 changed files with 4 additions and 1 deletions
|
@ -190,16 +190,19 @@ final class ConpherenceDurableColumnView extends AphrontTagView {
|
||||||
}
|
}
|
||||||
$data = $conpherence->getDisplayData($this->getUser());
|
$data = $conpherence->getDisplayData($this->getUser());
|
||||||
$image = $data['image'];
|
$image = $data['image'];
|
||||||
|
Javelin::initBehavior('phabricator-tooltips');
|
||||||
$icons[] =
|
$icons[] =
|
||||||
javelin_tag(
|
javelin_tag(
|
||||||
'a',
|
'a',
|
||||||
array(
|
array(
|
||||||
'href' => '/conpherence/columnview/',
|
'href' => '/conpherence/columnview/',
|
||||||
'class' => implode(' ', $classes),
|
'class' => implode(' ', $classes),
|
||||||
'sigil' => 'conpherence-durable-column-thread-icon',
|
'sigil' => 'conpherence-durable-column-thread-icon has-tooltip',
|
||||||
'meta' => array(
|
'meta' => array(
|
||||||
'threadID' => $conpherence->getID(),
|
'threadID' => $conpherence->getID(),
|
||||||
'threadTitle' => $data['js_title'],
|
'threadTitle' => $data['js_title'],
|
||||||
|
'tip' => $data['js_title'],
|
||||||
|
'align' => 'S',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
phutil_tag(
|
phutil_tag(
|
||||||
|
|
Loading…
Reference in a new issue