1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +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:
epriestley 2016-01-06 18:52:13 -08:00
parent 438100691d
commit d725dedb1e

View file

@ -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,