django-menu-generator
django-menu-generator copied to clipboard
Feature Request: menu item decorator
Sometimes it is important to decorate a menu item with a different visual element. It is a way to indicate to the user that something need to be done through the given menu element.
For instance, a badge should be put on a menu item to indicate a necessary action to be taken by the user. But in the current implementation there is no easy way to do so. It is necessary to evaluate the menu item element in order to decorate it properly.
So, during rendering, it should be only a matter of evaluating a single menu item element in order to decide, on a template, how to decorate this menu item.
Hello, sorry for the delayed answer, what's your idea for this? having a field with some HTML? or how would you indicate what you want to the dictionary?