mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 05:20:56 +01:00
New diffusion repository rejection should not navigate away from diffusion.
Summary: Fixes T7507, Create diffusion repo rejection should not navigate away from diffusion. Test Plan: Login as non-admin, open diffusion, attempt to create new repo, rejection dialog should appear over page instead of navigating to new page. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T7507 Differential Revision: https://secure.phabricator.com/D12557
This commit is contained in:
parent
be14f75274
commit
e39c3ef825
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ final class DiffusionRepositoryListController extends DiffusionController {
|
|||
->setName(pht('New Repository'))
|
||||
->setHref($this->getApplicationURI('new/'))
|
||||
->setDisabled(!$can_create)
|
||||
->setWorkflow(!$can_create)
|
||||
->setIcon('fa-plus-square'));
|
||||
|
||||
return $crumbs;
|
||||
|
|
Loading…
Reference in a new issue