OpenSlides/openslides/core/main_menu.py
2015-01-21 12:23:32 +01:00

15 lines
401 B
Python

from django.utils.translation import ugettext_lazy
from openslides.utils.main_menu import MainMenuEntry
class DashboardMainMenuEntry(MainMenuEntry):
"""
Main menu entry to the dashboard.
"""
verbose_name = ugettext_lazy('Dashboard')
required_permission = 'core.can_see_dashboard'
default_weight = 10
icon_css_class = 'glyphicon-home'
pattern_name = 'core_dashboard'