mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
List of events: Optional calendar view
This commit is contained in:
@@ -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'))
|
||||
)
|
||||
)
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user