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
419 B
Python
17 lines
419 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from django.utils.translation import ugettext_lazy
|
|
|
|
from openslides.utils.main_menu import MainMenuEntry
|
|
|
|
|
|
class AgendaMainMenuEntry(MainMenuEntry):
|
|
"""
|
|
Main menu entry for the agenda app.
|
|
"""
|
|
verbose_name = ugettext_lazy('Agenda')
|
|
permission_required = 'agenda.can_see_agenda'
|
|
default_weight = 20
|
|
pattern_name = 'item_overview'
|
|
icon_css_class = 'icon-calendar'
|