Render an edit link in Diffusion directory views
Summary: If the user has an editor configured, an Edit link appears next to the History link. Somewhat suboptimally, the column is still there if there are no edit links, it's just empty. I don't know if it matters... Test Plan: Load Diffusion pages while changing editor setting in preferences. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin, avivey Maniphest Tasks: T1558 Differential Revision: https://secure.phabricator.com/D3124
This commit is contained in:
@@ -93,6 +93,7 @@ final class DiffusionRepositoryController extends DiffusionController {
|
||||
$browse_table->setDiffusionRequest($drequest);
|
||||
$browse_table->setHandles($handles);
|
||||
$browse_table->setPaths($browse_results);
|
||||
$browse_table->setUser($this->getRequest()->getUser());
|
||||
|
||||
$browse_panel = new AphrontPanelView();
|
||||
$browse_panel->setHeader('Browse Repository');
|
||||
|
||||
Reference in New Issue
Block a user