From da3be5071ba7f412b4b8310c428d4b636c1c3624 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 30 Dec 2013 14:28:43 -0800 Subject: [PATCH] Give "delete Repository" a disabled style Summary: Some discussion on IRC. This is more consistent with other disabled items, which are click-to-explain. Test Plan: Viewed UI, clicked link. Reviewers: btrahan, dctrwatson, asherkin Reviewed By: asherkin CC: aran Differential Revision: https://secure.phabricator.com/D7857 --- .../controller/DiffusionRepositoryEditMainController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php b/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php index 0b058744d6..9c5cd93331 100644 --- a/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php +++ b/src/applications/diffusion/controller/DiffusionRepositoryEditMainController.php @@ -231,6 +231,7 @@ final class DiffusionRepositoryEditMainController ->setIcon('delete') ->setHref( $this->getRepositoryControllerURI($repository, 'edit/delete/')) + ->setDisabled(true) ->setWorkflow(true)); return $view;