level12 / keg-auth

Robust authentication system for Keg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

additional navigation customization

guruofgentoo opened this issue · comments

It would be helpful to be able to pass a couple of things into NavItem instances for a menu:

  • class_: we already have icon_class, but it would be helpful to be able to set the class for the whole menu item
  • code: attaching a code name to a menu item would help in custom render macros. Better than basing logic on the name, or having to do it by route while handling stem nodes (which don't have a route)