mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Use javelin_tag(), not phutil_tag(), to render revision blame tooltips properly
Summary: Depends on D19310. Ref T13105. The "meta" value was not populating correctly because this used `phutil_tag()`. Test Plan: Will verify on `secure`. Maniphest Tasks: T13105 Differential Revision: https://secure.phabricator.com/D19311
This commit is contained in:
parent
11664277b3
commit
eca7dc25f2
1 changed files with 5 additions and 6 deletions
|
@ -145,9 +145,9 @@ final class DiffusionBlameController extends DiffusionController {
|
|||
'href' => $commit->getURI(),
|
||||
'sigil' => 'has-tooltip',
|
||||
'meta' => array(
|
||||
'tip' => $this->renderCommitTooltip($commit, $handles),
|
||||
'tip' => $this->renderCommitTooltip($commit, $handles),
|
||||
'align' => 'E',
|
||||
'size' => 600,
|
||||
'size' => 600,
|
||||
),
|
||||
),
|
||||
$commit->getLocalName());
|
||||
|
@ -158,20 +158,19 @@ final class DiffusionBlameController extends DiffusionController {
|
|||
);
|
||||
|
||||
if ($revision) {
|
||||
$revision_link = phutil_tag(
|
||||
$revision_link = javelin_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $revision->getURI(),
|
||||
'sigil' => 'has-tooltip',
|
||||
'meta' => array(
|
||||
'tip' => $this->renderRevisionTooltip($revision, $handles),
|
||||
'tip' => $this->renderRevisionTooltip($revision, $handles),
|
||||
'align' => 'E',
|
||||
'size' => 600,
|
||||
'size' => 600,
|
||||
),
|
||||
),
|
||||
$revision->getMonogram());
|
||||
|
||||
|
||||
$info = array(
|
||||
$info,
|
||||
' / ',
|
||||
|
|
Loading…
Reference in a new issue