Refactoring/action menus

https://www.openproject.org/work_packages/5509