aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/report/_inspect.html
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-09-22 14:26:18 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-09-22 14:26:18 +0100
commitae4ba6fbe145b346183f9ed1ac2b67ccf7901f5d (patch)
tree5594d5baa95e885add6a55a4abd9531f992265d1 /templates/web/base/report/_inspect.html
parent7a505d188ae316874406cc3b04360ca9f39e5675 (diff)
Only show save and send fields to inspectors.
Diffstat (limited to 'templates/web/base/report/_inspect.html')
-rw-r--r--templates/web/base/report/_inspect.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html
index 7bf20a13a..31a8cd9ad 100644
--- a/templates/web/base/report/_inspect.html
+++ b/templates/web/base/report/_inspect.html
@@ -93,6 +93,7 @@
<a href="[% c.uri_for( '/report', problem.id ) %]" class="btn">[% loc('Cancel') %]</a>
<input type="submit" value="[% loc('Save changes') %]" name="save" />
</p>
+[% IF permissions.report_inspect %]
[% UNLESS problem.get_extra_metadata('inspected') %]
<p>
<label for="public_update">[% loc('Public update:') %]</label>
@@ -111,6 +112,7 @@
[% END %]
</p>
[% END %]
+[% END %]
</form>
</div>
</div>