Homec4science

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

Authored by epriestley <git@epriestley.com> on Jun 30 2016, 19:20.

Description

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

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11240

Differential Revision: https://secure.phabricator.com/D16201

Details

Committed
epriestley <git@epriestley.com>Jun 30 2016, 19:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPH2a7545a452b0: Convert Maniphest merge operations to modern Relationship code
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH7574f8dcf51a: When all actions in a submenu are disabled, disable the submenu header (authored by epriestley <git@epriestley.com>).Jun 30 2016, 19:57