Added option to show remaining quota to users

This commit is contained in:
Raphael Michel
2016-03-22 18:39:28 +01:00
parent 4110c1c77a
commit 9c44159bb6
12 changed files with 216 additions and 150 deletions

View File

@@ -125,6 +125,11 @@ class EventSettingsForm(SettingsForm):
choices=settings.LANGUAGES,
label=_("Default language"),
)
show_quota_left = forms.BooleanField(
label=_("Show number of tickets left"),
help_text=_("Publicly show how many tickets of a certain type are still available."),
required=False
)
attendee_names_asked = forms.BooleanField(
label=_("Ask for attendee names"),
help_text=_("Ask for a name for all tickets which include admission to the event."),