From 707a97b82926abdfd8b95fa1172447a1820e8e6f Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 22 Apr 2015 12:14:04 +0800 Subject: Bug 1157095: bug-modal should treat "unspecific" platform values as unset --- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions/BugModal/template/en/default') diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 3f6330423..f9c93efd1 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -609,7 +609,8 @@ [% WRAPPER bug_modal/field.html.tmpl container = 1 label = "Platform" - hide_on_view = bug.rep_platform == 'All' && bug.op_sys == 'All' + hide_on_view = (bug.rep_platform == 'All' && bug.op_sys == 'All') + || (bug.rep_platform == 'Unspecified' && bug.op_sys == 'Unspecified') %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.rep_platform -- cgit v1.2.3-24-g4f1b