aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/responsepriorities/list.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/web/base/admin/responsepriorities/list.html b/templates/web/base/admin/responsepriorities/list.html
index a269ff909..4c05ca14d 100644
--- a/templates/web/base/admin/responsepriorities/list.html
+++ b/templates/web/base/admin/responsepriorities/list.html
@@ -5,6 +5,7 @@
<tr>
<th> [% loc('Name') %] </th>
<th> [% loc('Description') %] </th>
+ <th> [% loc('Categories') %] </th>
<th> &nbsp; </th>
</tr>
</thead>
@@ -13,6 +14,15 @@
<tr [% 'class="is-deleted"' IF p.deleted %]>
<td> [% p.name | html %] </td>
<td> [% p.description | html %] </td>
+ <td>
+ [% UNLESS p.contacts.size %]
+ <em>[% loc('All categories') %]</em>
+ [% ELSE %]
+ [% FOR contact IN p.contacts %]
+ [% contact.category %][% ',' UNLESS loop.last %]
+ [% END %]
+ [% END %]
+ </td>
<td> <a href="[% c.uri_for('', body.id, p.id) %]" class="btn">[% loc('Edit') %]</a> </td>
</tr>
[% END %]