diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-04-18 17:21:35 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-09-15 20:44:40 +0100 |
commit | 5ffb6a22249afc57ddef9108960341797a9b8615 (patch) | |
tree | c777e33d8f182a5cc52e1af70ffaddce25168c6a | |
parent | ba670d85829c0151b27a4b87c01345acc70e4228 (diff) | |
download | bugzilla-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
-rw-r--r-- | template/en/default/bug/create/comment-guided.txt.tmpl | 8 |
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") -%] |