diff options
Diffstat (limited to 'templates/web/base/admin/templates.html')
-rw-r--r-- | templates/web/base/admin/templates.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/web/base/admin/templates.html b/templates/web/base/admin/templates.html new file mode 100644 index 000000000..25cd181aa --- /dev/null +++ b/templates/web/base/admin/templates.html @@ -0,0 +1,30 @@ +[% INCLUDE 'admin/header.html' title=tprintf(loc('Response Templates for %s'), body.name) -%] + +[% IF c.cobrand.moniker == 'zurich' %] + <h2> [% tprintf(loc('Response Templates for %s'), body.name) %] </h2> +[% END %] + +<table> + <thead> + <tr> + <th> [% loc('Title') %] </th> + <th> [% loc('Text') %] </th> + <th> [% loc('Created') %] </th> + <th> </th> + </tr> + </thead> + <tbody> +[% FOR t IN response_templates %] + <tr> + <td> [% t.title %] </td> + <td> [% t.text %] </td> + <td> [% t.created %] </td> + <td> <a href="/admin/templates/[% body.id %]/[% t.id %]" class="btn">[% loc('Edit') %]</a> </td> + </tr> +[% END %] + </tbody> +</table> + +<a href="[% c.uri_for('templates', body.id, 'new') %]" class="btn">[% loc('New template') %]</a> + +[% INCLUDE 'admin/footer.html' %] |