Page MenuHomePhabricator

D13255.diff
No OneTemporary

D13255.diff

diff --git a/src/applications/project/controller/PhabricatorProjectProfileController.php b/src/applications/project/controller/PhabricatorProjectProfileController.php
--- a/src/applications/project/controller/PhabricatorProjectProfileController.php
+++ b/src/applications/project/controller/PhabricatorProjectProfileController.php
@@ -91,7 +91,8 @@
id(new PhabricatorActionView())
->setName(pht('Edit Details'))
->setIcon('fa-pencil')
- ->setHref($this->getApplicationURI("details/{$id}/")));
+ ->setHref($this->getApplicationURI("details/{$id}/"))
+ ->setDisabled(!$can_edit));
$view->addAction(
id(new PhabricatorActionView())

File Metadata

Mime Type
text/plain
Expires
Wed, May 22, 2:11 AM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6288997
Default Alt Text
D13255.diff (690 B)

Event Timeline