mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 22:40:55 +01:00
Fix Create New Repository link on Repositories
Summary: See <https://github.com/facebook/phabricator/pull/510>. After the repository rework, the Create New Repository link in Repositories goes straight to creating a phabricator hosted repo(diffusion/create), rather than the chooser create/import (diffusion/new) I updated it to point to diffusion/new the same as the New Repository link in Diffusion. As a side note, the Repositories page could probably use the Crumbs treatment. Reviewed by: epriestley
This commit is contained in:
parent
b1ecedddc7
commit
ac09a1a245
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ final class PhabricatorRepositoryListController
|
|||
$panel = new AphrontPanelView();
|
||||
$panel->setHeader('Repositories');
|
||||
if ($is_admin) {
|
||||
$panel->setCreateButton('Create New Repository', '/diffusion/create/');
|
||||
$panel->setCreateButton('Create New Repository', '/diffusion/new/');
|
||||
}
|
||||
$panel->appendChild($table);
|
||||
$panel->setNoBackground();
|
||||
|
|
Loading…
Reference in a new issue