diff options
-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") -%] |