{% extends "admin/base_site.html" %} {% load i18n l10n admin_urls %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} delete-confirmation delete-selected-confirmation{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

{% trans 'Mail template preview' %}

-

{% trans 'The words in uppercase are the ones that the app will replace by the real values.' %}
{% blocktrans %}In example, it may say "Hello NAME", when a real for a person called Maria is generated, it'll say "Hello Maria".{% endblocktrans %}
{% trans 'If it says "Since STARTING_DATE", at the real e-mail will (in example) appear "Since 30/01/2020", etc.' %}

{{ rendered_subject }}

{% if messages %} {% endif %}
{% csrf_token %}

{% trans 'Subject strings' %}

{% if template_mail.mail.subject_strings %}
{% for string in template_mail.mail.subject_strings %}
{% endfor %}
{% else %}

{% trans 'Subject does not contain variable strings.' %}

{% endif %}

{% trans 'Message body strings' %}

{% if template_mail.mail.body_strings %}
{% for string in template_mail.mail.body_strings %}
{% endfor %}
{% else %}

{% trans 'Message body does not contain variable strings.' %}

{% endif %}

{% trans 'Sending options' %}

 
{% endblock %}