mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 10:42:41 +01:00
Add Owners search to Diffusion
Test Plan: /diffusion/X/browse/:/file Click Search Owners. Reviewers: epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1572
This commit is contained in:
parent
0f2d2201ce
commit
7a0337054b
1 changed files with 9 additions and 0 deletions
|
@ -97,6 +97,15 @@ abstract class DiffusionController extends PhabricatorController {
|
|||
),
|
||||
$name));
|
||||
}
|
||||
$nav->addNavItem(
|
||||
phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/owners/view/search/'.
|
||||
'?repository='.phutil_escape_uri($callsign).
|
||||
'&path='.phutil_escape_uri('/'.$drequest->getPath()),
|
||||
),
|
||||
'Search Owners'));
|
||||
|
||||
return $nav;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue