mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
Fix two minor issues with blame that involves revisions
Summary: I was looking at some random un-revisioney repository for most of my testing and missed these. Test Plan: Viewed blame of a file with some revisions. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D14965
This commit is contained in:
parent
438100691d
commit
d725dedb1e
1 changed files with 2 additions and 2 deletions
|
@ -1462,7 +1462,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
||||||
|
|
||||||
private function renderRevisionTooltip(
|
private function renderRevisionTooltip(
|
||||||
DifferentialRevision $revision,
|
DifferentialRevision $revision,
|
||||||
array $handles) {
|
$handles) {
|
||||||
$viewer = $this->getRequest()->getUser();
|
$viewer = $this->getRequest()->getUser();
|
||||||
|
|
||||||
$date = phabricator_date($revision->getDateModified(), $viewer);
|
$date = phabricator_date($revision->getDateModified(), $viewer);
|
||||||
|
@ -1802,7 +1802,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
||||||
$revision_link = javelin_tag(
|
$revision_link = javelin_tag(
|
||||||
'a',
|
'a',
|
||||||
array(
|
array(
|
||||||
'href' => $revision->getURI(),
|
'href' => '/'.$revision->getMonogram(),
|
||||||
'sigil' => 'has-tooltip',
|
'sigil' => 'has-tooltip',
|
||||||
'meta' => array(
|
'meta' => array(
|
||||||
'tip' => $tooltip,
|
'tip' => $tooltip,
|
||||||
|
|
Loading…
Reference in a new issue