1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-03 19:31:02 +01:00

Add title="" for Blame previous revision glyph

Summary: Adds 7th parameter :-(.

Test Plan: Display blame.

Reviewers: jungejason, epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1509
This commit is contained in:
vrana 2012-01-27 14:00:12 -08:00
parent bbf69309c0
commit 073b80c505

View file

@ -346,7 +346,8 @@ class DiffusionBrowseFileController extends DiffusionController {
"\xC2\xAB", "\xC2\xAB",
$prev_rev, $prev_rev,
$n, $n,
$selected); $selected,
'Blame previous revision');
$prev_link = '<th style="background: ' . $color . $prev_link = '<th style="background: ' . $color .
'; width: 2em;">' . $prev_link . '</th>'; '; width: 2em;">' . $prev_link . '</th>';
} }
@ -424,7 +425,8 @@ class DiffusionBrowseFileController extends DiffusionController {
$name = null, $name = null,
$rev = null, $rev = null,
$line = null, $line = null,
$view = null) { $view = null,
$title = null) {
$callsign = $drequest->getCallsign(); $callsign = $drequest->getCallsign();
@ -449,6 +451,7 @@ class DiffusionBrowseFileController extends DiffusionController {
'a', 'a',
array( array(
'href' => "/diffusion/{$callsign}/browse/{$path}{$at}{$line}{$view}", 'href' => "/diffusion/{$callsign}/browse/{$path}{$at}{$line}{$view}",
'title' => $title,
), ),
$name $name
); );