diff options
author | Dave Arter <davea@mysociety.org> | 2016-10-17 16:52:49 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-10-19 14:44:55 +0100 |
commit | 58684be7a9b8fec8c90e6f94ecea0c21c3ae5e59 (patch) | |
tree | 446805366b3a8bc7181db5bc24180916f3c64d37 /templates | |
parent | 9756df6ab27f96d4f466ee98722baaf7e751c34f (diff) |
Add ‘description’ field to ResponsePriority model
Used internally to provide more details about when a priority is applicable.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/responsepriorities/edit.html | 4 | ||||
-rw-r--r-- | templates/web/base/admin/responsepriorities/list.html | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/web/base/admin/responsepriorities/edit.html b/templates/web/base/admin/responsepriorities/edit.html index 89f41a069..93b050a20 100644 --- a/templates/web/base/admin/responsepriorities/edit.html +++ b/templates/web/base/admin/responsepriorities/edit.html @@ -14,6 +14,10 @@ <input type="text" name="name" class="required form-control" size="30" value="[% rp.name | html %]"> </p> <p> + <strong>[% loc('Description:') %] </strong> + <input type="text" name="description" class="form-control" size="30" value="[% rp.description | html %]"> + </p> + <p> <strong>[% loc('Categories:') %]</strong> <ul> [% FOR contact IN contacts %] diff --git a/templates/web/base/admin/responsepriorities/list.html b/templates/web/base/admin/responsepriorities/list.html index c893a4c70..a269ff909 100644 --- a/templates/web/base/admin/responsepriorities/list.html +++ b/templates/web/base/admin/responsepriorities/list.html @@ -4,13 +4,15 @@ <thead> <tr> <th> [% loc('Name') %] </th> + <th> [% loc('Description') %] </th> <th> </th> </tr> </thead> <tbody> [% FOR p IN response_priorities %] <tr [% 'class="is-deleted"' IF p.deleted %]> - <td> [% p.name %] </td> + <td> [% p.name | html %] </td> + <td> [% p.description | html %] </td> <td> <a href="[% c.uri_for('', body.id, p.id) %]" class="btn">[% loc('Edit') %]</a> </td> </tr> [% END %] |