Open Neamar opened 11 years ago
I use Django Suit in some of my projects, and i'd like to see an additional setting in MENU config: the ability to specify a class for the menu item.
MENU
For instance,
SUIT_CONFIG = { 'MENU': ( { 'label': 'Scripting', # This line 'class': 'css-class', 'icon': 'icon-star-empty', 'models': ('event.event', 'mission.mission', 'title.title', 'kingdom.quality', 'internal.trigger', 'internal.recurring') }, '-', }
(one interesting use case is to add .active class to always keep some sections open)
.active
I think it is pretty straightfowrard to add, maybe i can do a PR if need be.
I need the same feature for my project... It would be nice to have this option.
Me too
I use Django Suit in some of my projects, and i'd like to see an additional setting in
MENU
config: the ability to specify a class for the menu item.For instance,
(one interesting use case is to add
.active
class to always keep some sections open)I think it is pretty straightfowrard to add, maybe i can do a PR if need be.