Skip to content
Snippets Groups Projects
Commit 4af19f32 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Show additional fields in email

parent 6d67c809
No related branches found
No related tags found
1 merge request!1Reformat and cleanup
Pipeline #56114 canceled
...@@ -34,11 +34,13 @@ ...@@ -34,11 +34,13 @@
* {% trans "IBAN" %}: {{ registration.iban }} * {% trans "IBAN" %}: {{ registration.iban }}
{% endif %} {% endif %}
**** {% trans "Declarations" %} **** **** {% trans "Additional" %} ****
* {% trans "Consent by parents" %}: {{ registration.accept_terms }} {% if registration.extended_data %}
* {% trans "Data protection" %}: {{ registration.accept_data }} {% for field, value in registration.extended_data.items %}
* {% trans "Terms and conditions" %}: {{ registration.accept_general_terms }} * {{ field }}: {{ value }}
{% endfor %}
{% endif %}
{% trans "Your AlekSIS team" %} {% trans "Your AlekSIS team" %}
{% endblock %} {% endblock %}
...@@ -77,12 +79,19 @@ ...@@ -77,12 +79,19 @@
<li>{% trans "IBAN" %}: {{ registration.iban }}</li> <li>{% trans "IBAN" %}: {{ registration.iban }}</li>
{% endif %} {% endif %}
</ul> </ul>
<h5>{% trans "Declarations" %}</h5> <h5>{% trans "Additional" %}</h5>
<ul> {% if registration.extended_data %}
<li>{% trans "Consent by parents" %}: {{ registration.accept_terms }}</li> {% for field, value in registration.extended_data.items %}
<li>{% trans "Data protection" %}: {{ registration.accept_data }}</li> <ul>
<li>{% trans "Terms and conditions" %}: {{ registration.accept_general_terms }}</li> <li>
</ul> {{ field }}
</li>
<li>
{{ value }}
</li>
</ul>
{% endfor %}
{% endif %}
</blockquote> </blockquote>
<p> <p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment