List of events: Optional calendar view

This commit is contained in:
Raphael Michel
2017-07-08 22:50:48 +02:00
parent 675956a7c4
commit 275d162b81
11 changed files with 267 additions and 4 deletions

View File

@@ -126,3 +126,11 @@ class OrganizerSettingsForm(SettingsForm):
help_text=_('If you provide a logo image, we will by default not show your organization name '
'in the page header. We will show your logo with a maximal height of 120 pixels.')
)
event_list_type = forms.ChoiceField(
label=_('Event overview stile'),
choices=(
('list', _('List')),
('calendar', _('Calendar'))
)
)

View File

@@ -21,6 +21,7 @@
{% bootstrap_field sform.locales layout="horizontal" %}
{% bootstrap_field sform.organizer_logo_image layout="horizontal" %}
{% bootstrap_field sform.organizer_homepage_text layout="horizontal" %}
{% bootstrap_field sform.event_list_type layout="horizontal" %}
</fieldset>
<div class="form-group submit-group">
<button type="submit" class="btn btn-primary btn-save">