Fixed display_name of widgets.
This commit is contained in:
parent
7c75f42d85
commit
e601d8a5a3
@ -226,6 +226,7 @@ def get_widgets(request):
|
||||
return [
|
||||
Widget(
|
||||
name='agenda',
|
||||
display_name=_('Agenda'),
|
||||
template='agenda/widget.html',
|
||||
context={
|
||||
'agenda': SLIDE['agenda'],
|
||||
|
@ -674,7 +674,8 @@ def register_tab(request):
|
||||
def get_widgets(request):
|
||||
return [
|
||||
Widget(
|
||||
name=_('Assignments'),
|
||||
name='assignments',
|
||||
display_name=_('Elections'),
|
||||
template='assignment/widget.html',
|
||||
context={'assignments': Assignment.objects.all()},
|
||||
permission_required='assignment.can_manage_assignment')]
|
||||
|
@ -925,6 +925,7 @@ def get_widgets(request):
|
||||
return [
|
||||
Widget(
|
||||
name='motions',
|
||||
display_name=_('Motions'),
|
||||
template='motion/widget.html',
|
||||
context={'motions': Motion.objects.all()},
|
||||
permission_required='motion.can_manage_motion')]
|
||||
|
@ -573,7 +573,7 @@ def get_user_widget(request):
|
||||
"""
|
||||
return Widget(
|
||||
name='user',
|
||||
display_name=_('Users'),
|
||||
display_name=_('Participants'),
|
||||
template='participant/user_widget.html',
|
||||
context={'users': User.objects.all(),},
|
||||
permission_required='projector.can_manage_projector',
|
||||
|
Loading…
Reference in New Issue
Block a user