From 5ffb6a22249afc57ddef9108960341797a9b8615 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 18 Apr 2011 17:21:35 +0000 Subject: try to remove Reproducible: and Steps to Reproduce: when empty --- template/en/default/bug/create/comment-guided.txt.tmpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'template/en/default/bug') 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") -%] -- cgit v1.2.1