Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15388172
D17436.id41927.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
D17436.id41927.diff
View Options
diff --git a/src/applications/project/menuitem/PhabricatorProjectSubprojectsProfileMenuItem.php b/src/applications/project/menuitem/PhabricatorProjectSubprojectsProfileMenuItem.php
--- a/src/applications/project/menuitem/PhabricatorProjectSubprojectsProfileMenuItem.php
+++ b/src/applications/project/menuitem/PhabricatorProjectSubprojectsProfileMenuItem.php
@@ -47,10 +47,6 @@
PhabricatorProfileMenuItemConfiguration $config) {
$project = $config->getProfileObject();
-
- $has_children = ($project->getHasSubprojects()) ||
- ($project->getHasMilestones());
-
$id = $project->getID();
$name = $this->getDisplayName($config);
@@ -60,7 +56,6 @@
$item = $this->newItem()
->setHref($href)
->setName($name)
- ->setDisabled(!$has_children)
->setIcon($icon);
return array(
diff --git a/src/applications/project/menuitem/PhabricatorProjectWorkboardProfileMenuItem.php b/src/applications/project/menuitem/PhabricatorProjectWorkboardProfileMenuItem.php
--- a/src/applications/project/menuitem/PhabricatorProjectWorkboardProfileMenuItem.php
+++ b/src/applications/project/menuitem/PhabricatorProjectWorkboardProfileMenuItem.php
@@ -56,8 +56,6 @@
PhabricatorProfileMenuItemConfiguration $config) {
$project = $config->getProfileObject();
- $has_workboard = $project->getHasWorkboard();
-
$id = $project->getID();
$href = "/project/board/{$id}/";
$name = $this->getDisplayName($config);
@@ -65,7 +63,6 @@
$item = $this->newItem()
->setHref($href)
->setName($name)
- ->setDisabled(!$has_workboard)
->setIcon('fa-columns');
return array(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 3:24 AM (6 d, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7441069
Default Alt Text
D17436.id41927.diff (1 KB)
Attached To
Mode
D17436: Remove "disabled" look to subprojects/workboard nav items
Attached
Detach File
Event Timeline
Log In to Comment