aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-05-08 17:05:03 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-05-15 17:13:51 +0100
commit0b2f22d61ceaa2ba363769e44569c5949efefad8 (patch)
tree003ad5eda7775cdeb9af31d197c3b713a96b4249
parent3189dd83962965e646a246b0e8a75fd8535419f7 (diff)
Use inspection states in response template admin.
This maps better to the states shown in the front end and prevents e.g. multiple fixed states appearing.
-rw-r--r--CHANGELOG.md1
-rw-r--r--templates/web/base/admin/template_edit.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c88424c55..8b54031a4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -41,6 +41,7 @@
- Don't strip whitespace from user passwords. #2111
- Make OpenGraph description translatable.
- Stop double-escaping title in alert-update email.
+ - Use inspection states in response template admin.
- Admin improvements:
- Inspectors can set non_public status of reports. #1992
- Default start date is shown on the dashboard.
diff --git a/templates/web/base/admin/template_edit.html b/templates/web/base/admin/template_edit.html
index 428aa46ac..0cfd5406a 100644
--- a/templates/web/base/admin/template_edit.html
+++ b/templates/web/base/admin/template_edit.html
@@ -51,7 +51,7 @@
</div>
<p>
<label for="state">[% loc('State') %]</label>
- [% INCLUDE 'admin/state_groups_select.html' current_state=rt.state include_empty=1 %]
+ [% INCLUDE 'report/inspect/state_groups_select.html' current_state=rt.state include_empty=1 %]
</p>
[% IF errors.external_status_code %]