Disable participant widgets by default. Fixes #988.
This commit is contained in:
parent
2cf2774e58
commit
43c6efa222
@ -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.
|
||||||
|
|
||||||
|
@ -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'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user