{% extends "wcs/backoffice/base.html" %}
{% load i18n %}

{% block appbar-title %}{% trans "Mail Templates" %}{% endblock %}

{% block appbar-actions %}
<a rel="popup" href="new">{% trans "New mail template" %}</a>
{% endblock %}

{% block content %}
{% if mail_templates %}
<ul class="objects-list single-links">
  {% for mail_template in mail_templates %}
  <li><a href="{{ mail_template.id }}/">{{ mail_template.name }}</a></li>
  {% endfor %}
</ul>
{% else %}
<div class="infonotice">
{% trans "There are no mail templates defined." %}
</div>
{% endif %}
{% endblock %}
