diff options
author | gerv%gerv.net <> | 2004-09-12 22:23:24 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2004-09-12 22:23:24 +0000 |
commit | 3582c773f927c3549937a8f8495fbd85c18afd44 (patch) | |
tree | 444e16e033661dd84e90f36d1cab960df27455f2 /template/en/default/bug | |
parent | a852a93e0180786e433ce6657ef8b8756c1b8386 (diff) | |
download | bugs-3582c773f927c3549937a8f8495fbd85c18afd44.tar bugs-3582c773f927c3549937a8f8495fbd85c18afd44.tar.gz bugs-3582c773f927c3549937a8f8495fbd85c18afd44.tar.bz2 bugs-3582c773f927c3549937a8f8495fbd85c18afd44.tar.xz bugs-3582c773f927c3549937a8f8495fbd85c18afd44.zip |
Bug 225854 - only print "Steps to reproduce" when the user has entered some. Patch by buti@gmx.at; r=gerv.
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/create/comment-guided.txt.tmpl | 5 |
1 files changed, 3 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 c66a550e1..19d17a467 100644 --- a/template/en/default/bug/create/comment-guided.txt.tmpl +++ b/template/en/default/bug/create/comment-guided.txt.tmpl @@ -31,11 +31,12 @@ Build Identifier: [%+ form.buildid %] [%+ IF form.reproducible != "Choose one..." -%] Reproducible: [%+ form.reproducible %] -[% END -%] +[% END %] -[%# I can't make TT check for "1.\n2.\n3." so this is not conditional. -%] +[% IF !(form.reproduce_steps.match('^1\.\s+2\.\s+3\.\s+$') || form.reproduce_steps.match('^\s+$')) %] Steps to Reproduce: [%+ form.reproduce_steps %] +[% END %] [% IF form.actual_results -%] Actual Results: |