Skip to content
Snippets Groups Projects
Commit 71501637 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Add plain block in template

parent 6088b922
No related branches found
No related tags found
1 merge request!25Resolve "Fix send email"
......@@ -2,6 +2,14 @@
{% block subject %} {% trans "New" %} {{ type }} {% trans "from" %} {{ user.username }} {% endblock %}
{% block plain %}
{% trans "The user" %} {{ user.username }} ({% trans "full name: " %} {{ user.first_name }} {{ user.last_name }}, {% trans "e-mail: " %} {{ user.email }}) {% trans "has submitted the following" %} {{ type }}:
{% for item in description %}
{{ item }}
{% endfor %}
{% endblock %}
{% block html %}
<main>
<p>{% trans "The user" %} {{ user.username }} ({% trans "full name: " %} {{ user.first_name }} {{ user.last_name }}, {% trans "e-mail: " %} {{ user.email }}) {% trans "has submitted the following" %} {{ type }}: </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