aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/templates.html
blob: f9dda7a4ccf4cdd727329ad7ed242633448febe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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>  &nbsp; </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="[% c.uri_for('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' %]