2013-12-09 23:56:01 +01:00
|
|
|
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')
|
2015-03-26 05:36:10 +01:00
|
|
|
required_permission = 'assignments.can_see'
|
2013-12-09 23:56:01 +01:00
|
|
|
default_weight = 40
|
2015-03-09 15:40:54 +01:00
|
|
|
pattern_name = '/assignments' # TODO: use generic solution, see issue #1469
|
2015-01-17 13:31:06 +01:00
|
|
|
icon_css_class = 'icon-assignment'
|