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:
parent
bbf69309c0
commit
073b80c505
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue