1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00: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:
vrana 2012-02-03 23:45:38 -08:00
parent 0f2d2201ce
commit 7a0337054b

View file

@ -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;
}