21ff62dd32
Changed api for main menu entries. Enhanced http error pages using a classed based views. Moved dashboard and select widgets view from projector to core app. Also some small clean ups.
17 lines
426 B
Python
17 lines
426 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
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')
|
|
permission_required = 'projector.can_see_dashboard'
|
|
default_weight = 10
|
|
icon_css_class = 'icon-home'
|
|
pattern_name = 'core_dashboard'
|