2013-12-09 23:56:01 +01:00
|
|
|
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')
|
2014-05-15 20:07:09 +02:00
|
|
|
required_permission = 'core.can_see_dashboard'
|
2013-12-09 23:56:01 +01:00
|
|
|
default_weight = 10
|
2015-01-17 13:31:06 +01:00
|
|
|
icon_css_class = 'glyphicon-home'
|
2015-03-09 15:40:54 +01:00
|
|
|
pattern_name = '/' # TODO: use generic solution, see issue #1469
|