Project

General

Profile

Actions

Patch #6008

closed

Move admin_menu to Redmine::MenuManager

Added by Jean-Baptiste Barth over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
2010-07-31
Due date:
% Done:

100%

Estimated time:

Description

Admin menu should be moved to a standard Redmine::MenuManager so that it can be modified in a plugin the same way we do with other menu.

For the moment the only way to modify this menu really (not just add something, reorganize or remove items for instance) is to override the view. If 2 plugins do this, the 2nd will override 1st modifications. This problem doesn't occur anymore if the menu is managed with Redmine::MenuManager.

See patch attached. If it's functionnally OK, we can integrate this easily, it should not break anything in existing plugins.


Files

move-admin-menu.diff (3.42 KB) move-admin-menu.diff Jean-Baptiste Barth, 2010-07-31 11:10
Actions

Also available in: Atom PDF