OpenSlides/openslides/assignment/main_menu.py
Oskar Hahn c4c9322321 Rework of assignment
fixes: #1429, #1345

A database recreation is needed
2015-02-12 10:14:10 +01:00

15 lines
418 B
Python

from django.utils.translation import ugettext_lazy
from openslides.utils.main_menu import MainMenuEntry
class AssignmentMainMenuEntry(MainMenuEntry):
"""
Main menu entry for the assignment app.
"""
verbose_name = ugettext_lazy('Elections')
required_permission = 'assignment.can_see_assignments'
default_weight = 40
pattern_name = 'assignment_list'
icon_css_class = 'icon-assignment'