forked from CGM_Public/pretix_original
Allow to add declaration of accessibility (#5140)
* Allow to add declaration of accessibility * add fallback for empty accessibility_title * unify label format (not "Title for") * move title to top and set helptext before text --------- Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -498,6 +498,9 @@ class OrganizerSettingsForm(SettingsForm):
|
||||
'theme_round_borders',
|
||||
'primary_font',
|
||||
'privacy_url',
|
||||
'accessibility_url',
|
||||
'accessibility_title',
|
||||
'accessibility_text',
|
||||
'cookie_consent',
|
||||
'cookie_consent_dialog_title',
|
||||
'cookie_consent_dialog_text',
|
||||
|
||||
@@ -200,6 +200,24 @@
|
||||
{% bootstrap_field sform.cookie_consent_dialog_button_yes layout="control" %}
|
||||
{% bootstrap_field sform.cookie_consent_dialog_button_no layout="control" %}
|
||||
</fieldset>
|
||||
<fieldset id="tab-organizer-accessibility">
|
||||
<legend>{% trans "Accessibility" %}</legend>
|
||||
<div class="alert alert-legal">
|
||||
{% blocktrans trimmed with a_href="https://docs.pretix.eu/trust/accessibility/" %}
|
||||
Some jurisdictions, including the European Union, require you to publish information
|
||||
about the accessibility of your ticket shop. You can find a template in
|
||||
<a href="https://docs.pretix.eu/trust/accessibility/" target="_blank">our documentation</a>.
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
{% bootstrap_field sform.accessibility_title layout="control" %}
|
||||
{% bootstrap_field sform.accessibility_url layout="control" %}
|
||||
<div class="row">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<p class="text-muted">{% trans "Instead of an URL, you can also configure a text that will be shown within pretix. This will be ignored if a URL is configured." %}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% bootstrap_field sform.accessibility_text layout="control" %}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>{% trans "Reusable media" %}</legend>
|
||||
{% bootstrap_field sform.reusable_media_active layout="control" %}
|
||||
|
||||
Reference in New Issue
Block a user