Page MenuHomePhabricator

When all actions in a submenu are disabled, disable the submenu header
ClosedPublic

Authored by epriestley on Jun 30 2016, 5:24 PM.
Tags
None
Referenced Files
F15491330: D16201.id38967.diff
Sat, Apr 12, 2:05 AM
F15452171: D16201.id38967.diff
Sat, Mar 29, 2:20 AM
F15448255: D16201.id38969.diff
Fri, Mar 28, 3:43 AM
F15440411: D16201.id.diff
Wed, Mar 26, 12:44 PM
F15435290: D16201.diff
Tue, Mar 25, 7:43 AM
F15433250: D16201.diff
Mon, Mar 24, 10:16 PM
F15426529: D16201.id38969.diff
Mar 23 2025, 9:22 AM
F15391572: D16201.id38969.diff
Mar 15 2025, 10:36 AM
Subscribers
None

Details

Summary

Fixes T11240. Also simplify things a little and share a bit more code.

Test Plan
  • Viewed revisions and tasks, opened submenu.
  • Viewed as a user without edit permission, saw the menus greyed out.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to When all actions in a submenu are disabled, disable the submenu header.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
src/applications/search/controller/PhabricatorSearchBaseController.php
5–10

Not exactly related, but nothing uses these anymore.

chad edited edge metadata.
This revision is now accepted and ready to land.Jun 30 2016, 5:35 PM
This revision was automatically updated to reflect the committed changes.