Merge pull request #1144 from normanjaeckel/DeactivateParticipantWidgets

Disable participant widgets by default. Fixes #988.
This commit is contained in:
Oskar Hahn 2013-12-02 09:40:46 -08:00
commit 13df334e24
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ Version 1.6 (unreleased)
======================== ========================
[https://github.com/OpenSlides/OpenSlides/issues?milestone=14] [https://github.com/OpenSlides/OpenSlides/issues?milestone=14]
Participants:
- Disable widgets by default.
Other: Other:
- Changed widget api. Used new metaclass. - Changed widget api. Used new metaclass.

View File

@ -17,6 +17,7 @@ class UserWidget(Widget):
permission_required = 'projector.can_manage_projector' permission_required = 'projector.can_manage_projector'
default_column = 1 default_column = 1
default_weight = 60 default_weight = 60
default_active = False
template_name = 'participant/widget_user.html' template_name = 'participant/widget_user.html'
more_link_pattern_name = 'user_overview' more_link_pattern_name = 'user_overview'
@ -36,6 +37,7 @@ class GroupWidget(Widget):
permission_required = 'projector.can_manage_projector' permission_required = 'projector.can_manage_projector'
default_column = 1 default_column = 1
default_weight = 70 default_weight = 70
default_active = False
template_name = 'participant/widget_group.html' template_name = 'participant/widget_group.html'
more_link_pattern_name = 'user_group_overview' more_link_pattern_name = 'user_group_overview'