aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorpezholio <pezholio@gmail.com>2017-05-24 11:27:52 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-06-20 17:59:29 +0100
commit27ac8579d461c6d43e10693d2210fcba90b9baac (patch)
tree3285e166b7a20626b4b72046c6c6d61ed3d320ef /templates
parentbdd1e1627a1be6d9253ecc4e6904e68948227914 (diff)
Return Response Priorities as JSON.
This now lets the response priority and defect type handling share the same code.
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/report/_inspect.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html
index 79f48743a..67e28ca1d 100644
--- a/templates/web/base/report/_inspect.html
+++ b/templates/web/base/report/_inspect.html
@@ -46,11 +46,11 @@
[% cat_prefix = category | lower | replace('[^a-z]', '') %]
[% cat_prefix = "category_" _ cat_prefix _ "_" %]
[% IF category == problem.category %]
- <p data-category="[% category | html %]" data-priorities="[% priorities_by_category.$category %]" data-defect-types='[% category_defect_types.$category %]'>
+ <p data-category="[% category | html %]" data-priorities='[% priorities_by_category.$category %]' data-defect-types='[% category_defect_types.$category %]'>
[% INCLUDE 'report/new/category_extras_fields.html' %]
</p>
[% ELSE %]
- <p data-category="[% category | html %]" class="hidden" data-priorities="[% priorities_by_category.$category %]" data-defect-types='[% category_defect_types.$category %]'>
+ <p data-category="[% category | html %]" class="hidden" data-priorities='[% priorities_by_category.$category %]' data-defect-types='[% category_defect_types.$category %]'>
[% INCLUDE 'report/new/category_extras_fields.html' report_meta='' %]
</p>
[% END %]