Skip to content
Snippets Groups Projects
Verified Commit 797aa1f3 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add menus.py

parent 2c1a0404
No related branches found
No related tags found
No related merge requests found
from django.utils.translation import ugettext_lazy as _
MENUS = {
"NAV_MENU_CORE": [
{
"name": _("Menu"),
"url": "#",
"icon": "restaurant_menu",
"root": True,
"validators": [
"menu_generator.validators.is_authenticated",
],
"submenu": [
{
"name": _("Current menu"),
"url": "menu_show_current",
"icon": "picture_as_pdf",
"validators": ["menu_generator.validators.is_authenticated"],
},
{
"name": _("Upload menu"),
"url": "menu_index",
"icon": "file_upload",
"validators": ["menu_generator.validators.is_authenticated"],
},
],
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment