mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Use ?view= in Blame previous but not in line link
Summary: I didn't notice that D3494 is revert of D3453. Test Plan: Checked both line and Blame previous links. Reviewers: epriestley, fdoemges Reviewed By: fdoemges CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3566
This commit is contained in:
parent
b43f84d6dc
commit
e5e3617e46
1 changed files with 2 additions and 2 deletions
|
@ -469,7 +469,6 @@ final class DiffusionBrowseFileController extends DiffusionController {
|
||||||
'action' => 'browse',
|
'action' => 'browse',
|
||||||
'line' => $line['line'],
|
'line' => $line['line'],
|
||||||
'stable' => true,
|
'stable' => true,
|
||||||
'params' => array('view' => 'blame'),
|
|
||||||
));
|
));
|
||||||
|
|
||||||
$blame = array();
|
$blame = array();
|
||||||
|
@ -540,10 +539,11 @@ final class DiffusionBrowseFileController extends DiffusionController {
|
||||||
'D'.$revision_id);
|
'D'.$revision_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$uri = $line_href->alter('before', $commit);
|
||||||
$before_link = javelin_render_tag(
|
$before_link = javelin_render_tag(
|
||||||
'a',
|
'a',
|
||||||
array(
|
array(
|
||||||
'href' => $line_href->alter('before', $commit),
|
'href' => $uri->setQueryParam('view', 'blame'),
|
||||||
'sigil' => 'has-tooltip',
|
'sigil' => 'has-tooltip',
|
||||||
'meta' => array(
|
'meta' => array(
|
||||||
'tip' => 'Skip Past This Commit',
|
'tip' => 'Skip Past This Commit',
|
||||||
|
|
Loading…
Reference in a new issue