emails: add email template viewer

This commit is contained in:
Ben Spoon 2016-08-02 14:57:38 -07:00
parent b662fad09e
commit 195f0bb5d8
3 changed files with 110 additions and 0 deletions

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>Email Template Viewer</title>
</head>
<body>
<h1>Email Template Viewer</h1>
Here is a list of the templates available:
<ul>
{% for template in templates %}
{% if template != 'email-template-viewer' %}
<li><a href="{{template}}">{{template}}</a></li>
{% endif %}
{% endfor %}
</ul>
</body>
</html>