diff options
| author | M Somerville <matthew-github@dracos.co.uk> | 2020-10-01 14:44:07 +0100 |
|---|---|---|
| committer | M Somerville <matthew-github@dracos.co.uk> | 2020-10-02 07:10:01 +0100 |
| commit | e3e1e9d54999692dc01f3fdd32693547af8deb7b (patch) | |
| tree | 692f8aab046e55b8cbde975597bb7e79fa9092a3 /templates | |
| parent | 598bb52cb46aaca98e85328d34b58bbcb7581d71 (diff) | |
Do not display deleted priorities in inspect form.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/web/base/report/inspect/extra_details.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/report/inspect/extra_details.html b/templates/web/base/report/inspect/extra_details.html index 7777e9a78..66e464cef 100644 --- a/templates/web/base/report/inspect/extra_details.html +++ b/templates/web/base/report/inspect/extra_details.html @@ -3,7 +3,7 @@ <select name="priority" id="problem_priority" class="form-control"> <option value="" [% 'selected' UNLESS problem.response_priority_id OR has_default_priority %]>-</option> [% FOREACH priority IN problem.response_priorities %] - <option value="[% priority.id %]" [% 'selected' IF ( problem.response_priority_id == priority.id ) OR priority.is_default %][% 'disabled' IF priority.deleted %]>[% priority.name | html %]</option> + <option value="[% priority.id %]" [% 'selected' IF problem.response_priority_id == priority.id OR (NOT problem.response_priority_id AND priority.is_default) %]>[% priority.name | html %]</option> [% END %] </select> </p> |
