mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Add cancel_allow_user_paid_adjust_fees_explanation
This commit is contained in:
@@ -572,6 +572,7 @@ class CancelSettingsForm(SettingsForm):
|
||||
'cancel_allow_user_paid_keep_fees',
|
||||
'cancel_allow_user_paid_keep_percentage',
|
||||
'cancel_allow_user_paid_adjust_fees',
|
||||
'cancel_allow_user_paid_adjust_fees_explanation',
|
||||
'cancel_allow_user_paid_refund_as_giftcard',
|
||||
'cancel_allow_user_paid_require_approval',
|
||||
]
|
||||
|
||||
@@ -20,7 +20,21 @@
|
||||
{% bootstrap_field form.cancel_allow_user_paid_keep_percentage layout="control" %}
|
||||
{% bootstrap_field form.cancel_allow_user_paid_keep_fees layout="control" %}
|
||||
{% bootstrap_field form.cancel_allow_user_paid_until layout="control" %}
|
||||
{% bootstrap_field form.cancel_allow_user_paid_adjust_fees layout="control" %}
|
||||
<div class="form-group">
|
||||
<div class="col-md-9 col-md-offset-3">
|
||||
<div class="checkbox">
|
||||
<label data-toggle="collapse" data-target="#cancel_allow_user_paid_adjust_fees_explanation">
|
||||
{{ form.cancel_allow_user_paid_adjust_fees }} {{ form.cancel_allow_user_paid_adjust_fees.label }}
|
||||
</label>
|
||||
</div>
|
||||
<div class="help-block">
|
||||
{{ form.cancel_allow_user_paid_adjust_fees.help_text }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="cancel_allow_user_paid_adjust_fees_explanation" class="panel-body panel-collapse collapse {% if form.cancel_allow_user_paid_adjust_fees.value %} in {% else %} out {% endif %}">
|
||||
{% bootstrap_field form.cancel_allow_user_paid_adjust_fees_explanation layout="control" %}
|
||||
</div>
|
||||
{% bootstrap_field form.cancel_allow_user_paid_refund_as_giftcard layout="control" %}
|
||||
{% if not gets_notification %}
|
||||
<div class="alert alert-warning">
|
||||
|
||||
Reference in New Issue
Block a user