summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-04-18 17:21:35 +0000
committerColin Guthrie <colin@mageia.org>2014-09-15 20:44:40 +0100
commit5ffb6a22249afc57ddef9108960341797a9b8615 (patch)
treec777e33d8f182a5cc52e1af70ffaddce25168c6a /template/en/default/bug
parentba670d85829c0151b27a4b87c01345acc70e4228 (diff)
downloadbugzilla-5ffb6a22249afc57ddef9108960341797a9b8615.tar
bugzilla-5ffb6a22249afc57ddef9108960341797a9b8615.tar.gz
bugzilla-5ffb6a22249afc57ddef9108960341797a9b8615.tar.bz2
bugzilla-5ffb6a22249afc57ddef9108960341797a9b8615.tar.xz
bugzilla-5ffb6a22249afc57ddef9108960341797a9b8615.zip
try to remove Reproducible: and Steps to Reproduce: when empty
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/create/comment-guided.txt.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl
index 66220ec..0f68d28 100644
--- a/template/en/default/bug/create/comment-guided.txt.tmpl
+++ b/template/en/default/bug/create/comment-guided.txt.tmpl
@@ -30,13 +30,17 @@
[%+ cgi.param("comment") IF cgi.param("comment") %]
-[%+ IF cgi.param("reproducible") != "Choose one..." -%]
+[% IF cgi.param("reproducible") %]
+[%+ IF cgi.param("reproducible") != "Choose one..." -%]
Reproducible: [%+ cgi.param("reproducible") %]
+[% END %]
[% END %]
-[% IF !(cgi.param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi.param("reproduce_steps").match('^\s*$')) %]
+[% IF cgi.param("reproduce_steps") %]
+[% IF !(cgi.param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi.param("reproduce_steps").match('^\s*$')) %]
Steps to Reproduce:
[%+ cgi.param("reproduce_steps") %]
+[% END %]
[% END %]
[% IF cgi.param("actual_results") -%]