diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-02-17 17:43:54 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-26 11:40:15 +0000 |
commit | 18adbe946c1104338e6abff159b4f9877154969c (patch) | |
tree | 5bae6c894981d3d90724f75c241c9d1e4c848dc2 /templates | |
parent | 97133a07a181e6cccc207cc6598a08e8028ad7ca (diff) |
Add a new "staff" contact state.
This state will appear when reporting if you are logged in as a staff
member of the relevant body, but otherwise not appear on the site.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/bodies/contact-form.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/web/base/admin/bodies/contact-form.html b/templates/web/base/admin/bodies/contact-form.html index 921cb1380..b698fcea2 100644 --- a/templates/web/base/admin/bodies/contact-form.html +++ b/templates/web/base/admin/bodies/contact-form.html @@ -40,6 +40,11 @@ <label for="state-deleted">[% loc('Deleted') %]</label> <p class="form-hint" id="state-deleted-hint">[% loc('Prevent new reports from using this category, <em>and</em> also remove it from map filters.') %]</p> </div> + <div class="form-check form-check--inline"> + <input type="radio" name="state" id="state-staff" aria-describedby="state-staff-hint" value="staff"[% ' checked' IF contact.state == 'staff' %]> + <label for="state-staff">[% loc('Staff only') %]</label> + <p class="form-hint" id="state-staff-hint">[% loc('Only staff users will be able to add reports in this category.') %]</p> + </div> </fieldset> <p class="form-check"> |