Bug 225854 - only print "Steps to reproduce" when the user has entered some. Patch by buti@gmx.at; r=gerv.

This commit is contained in:
gerv%gerv.net 2004-09-12 15:23:24 +00:00
Родитель 66fd0127ec
Коммит d40151304e
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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: