@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

lkassianik and committed by
epriestley
e39c3ef8 be14f752

+1
+1
src/applications/diffusion/controller/DiffusionRepositoryListController.php
··· 41 41 ->setName(pht('New Repository')) 42 42 ->setHref($this->getApplicationURI('new/')) 43 43 ->setDisabled(!$can_create) 44 + ->setWorkflow(!$can_create) 44 45 ->setIcon('fa-plus-square')); 45 46 46 47 return $crumbs;