Skip to content
Snippets Groups Projects

Resolve "Replace send_mail_with_template"

Merged Hangzhi Yu requested to merge 13-replace-send_mail_with_template into master
2 files
+ 38
28
Compare changes
  • Side-by-side
  • Inline
Files
2
{% load i18n %}
{% block subject %} {% trans "New" %} {{ type }} {% trans "from" %} {{ user.username }} {% 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>
<blockquote>
{{ for item in description }}
<p>{{ item }}</p>
{{ endfor }}
</blockquote>
</main>
{% endblock %}
Loading