Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15483208
D20368.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D20368.diff
View Options
diff --git a/src/applications/dashboard/controller/dashboard/PhabricatorDashboardViewController.php b/src/applications/dashboard/controller/dashboard/PhabricatorDashboardViewController.php
--- a/src/applications/dashboard/controller/dashboard/PhabricatorDashboardViewController.php
+++ b/src/applications/dashboard/controller/dashboard/PhabricatorDashboardViewController.php
@@ -79,7 +79,8 @@
->setName(pht('Edit Dashboard'))
->setIcon('fa-pencil')
->setHref($this->getApplicationURI("edit/{$id}/"))
- ->setDisabled(!$can_edit));
+ ->setDisabled(!$can_edit)
+ ->setWorkflow(!$can_edit));
$curtain->addAction(
id(new PhabricatorActionView())
@@ -95,7 +96,7 @@
->setIcon('fa-check')
->setHref($this->getApplicationURI("archive/{$id}/"))
->setDisabled(!$can_edit)
- ->setWorkflow($can_edit));
+ ->setWorkflow(true));
} else {
$curtain->addAction(
id(new PhabricatorActionView())
@@ -103,7 +104,7 @@
->setIcon('fa-ban')
->setHref($this->getApplicationURI("archive/{$id}/"))
->setDisabled(!$can_edit)
- ->setWorkflow($can_edit));
+ ->setWorkflow(true));
}
return $curtain;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 10, 10:43 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7707620
Default Alt Text
D20368.diff (1 KB)
Attached To
Mode
D20368: Put "workflow" on Dashboard edit links when they're disabled
Attached
Detach File
Event Timeline
Log In to Comment