mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +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",
|
||||
$prev_rev,
|
||||
$n,
|
||||
$selected);
|
||||
$selected,
|
||||
'Blame previous revision');
|
||||
$prev_link = '<th style="background: ' . $color .
|
||||
'; width: 2em;">' . $prev_link . '</th>';
|
||||
}
|
||||
|
@ -424,7 +425,8 @@ class DiffusionBrowseFileController extends DiffusionController {
|
|||
$name = null,
|
||||
$rev = null,
|
||||
$line = null,
|
||||
$view = null) {
|
||||
$view = null,
|
||||
$title = null) {
|
||||
|
||||
$callsign = $drequest->getCallsign();
|
||||
|
||||
|
@ -449,6 +451,7 @@ class DiffusionBrowseFileController extends DiffusionController {
|
|||
'a',
|
||||
array(
|
||||
'href' => "/diffusion/{$callsign}/browse/{$path}{$at}{$line}{$view}",
|
||||
'title' => $title,
|
||||
),
|
||||
$name
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue