forked from CGM_Public/pretix_original
Improve sendmail preview template
This commit is contained in:
@@ -13,19 +13,22 @@
|
|||||||
{% if request.method == "POST" %}
|
{% if request.method == "POST" %}
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{% trans "E-mail preview" %}</legend>
|
<legend>{% trans "E-mail preview" %}</legend>
|
||||||
|
{% for locale, segments in output.items %}
|
||||||
<div class="panel-body">
|
<div class="panel panel-default">
|
||||||
{% for locale, segments in output.items %}
|
<div class="panel-heading">
|
||||||
<p>
|
<h4 class="panel-title">
|
||||||
<strong>{% blocktrans %}For locale: {{ locale }}{% endblocktrans %}</strong>
|
<strong>{% blocktrans %}For locale: {{ locale }}{% endblocktrans %}</strong>
|
||||||
</p>
|
</h4>
|
||||||
{% for value in segments %}
|
</div>
|
||||||
<p>
|
<div class="panel-body">
|
||||||
{{ value|linebreaksbr }}
|
{% for value in segments %}
|
||||||
</p>
|
<p>
|
||||||
{% endfor %}
|
{{ value|linebreaksbr }}
|
||||||
{% endfor %}
|
</p>
|
||||||
</div>
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="form-group submit-group">
|
<div class="form-group submit-group">
|
||||||
|
|||||||
Reference in New Issue
Block a user