Skip to content

Commit

Permalink
move settings for events from module settings to event settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschuppi81 committed Jul 15, 2024
1 parent b115c26 commit c27e07f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/onegov/org/forms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,21 +701,6 @@ class ModuleSettingsForm(Form):
('notes', _("Notes")),
])

event_locations = TagsField(
label=_("Values of the location filter"),
fieldset=_("Events"),)

event_filter_type = RadioField(
label=_('Choose the filter type for events (default is \'tags\')'),
choices=(
('tags', _('A predefined set of tags')),
('filters', _('Manually configurable filters')),
('tags_and_filters', _('Both, predefined tags as well as '
'configurable filters')),
),
default='tags'
)

mtan_session_duration_seconds = IntegerField(
label=_('Duration of mTAN session'),
description=_('Specify in number of seconds'),
Expand Down Expand Up @@ -1220,6 +1205,21 @@ class EventSettingsForm(Form):
default=False
)

event_locations = TagsField(
label=_("Values of the location filter"),
)

event_filter_type = RadioField(
label=_('Choose the filter type for events (default is \'Tags\')'),
choices=(
('tags', _('A predefined set of tags')),
('filters', _('Manually configurable filters')),
('tags_and_filters', _('Both, predefined tags as well as '
'configurable filters')),
),
default='tags'
)


class DataRetentionPolicyForm(Form):

Expand Down

0 comments on commit c27e07f

Please sign in to comment.