mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Collappse payment provider settings by default
This commit is contained in:
@@ -31,10 +31,15 @@
|
|||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<h3 class="panel-title">{{ provider.verbose_name }}</h3>
|
<h3 class="panel-title">
|
||||||
|
<a data-toggle="collapse" href="#{{ provider.identifier }}">
|
||||||
|
{{ provider.verbose_name }}
|
||||||
|
</a>
|
||||||
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="{{ provider.identifier }}" class="panel-collapse collapse">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
{% bootstrap_form provider.form layout='horizontal' %}
|
{% bootstrap_form provider.form layout='horizontal' %}
|
||||||
{% with c=provider.settings_content %}
|
{% with c=provider.settings_content %}
|
||||||
@@ -42,6 +47,7 @@
|
|||||||
{% endwith %}
|
{% endwith %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<em>{% trans "There are no payment providers available. Please go to the plugin settings and activate one or more payment plugins." %}</em>
|
<em>{% trans "There are no payment providers available. Please go to the plugin settings and activate one or more payment plugins." %}</em>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user