Mageia Bugzilla – Attachment 7479 Details for
Bug 9286
Mageia bugzilla adds Reproducible & Steps to reproduce on the bottom of all new bugs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to remove useless strings from the initial comment
file_9286.txt (text/plain), 756 bytes, created by
Frédéric "LpSolit" Buclin
on 2016-02-21 20:39:25 CET
(
hide
)
Description:
Patch to remove useless strings from the initial comment
Filename:
MIME Type:
Creator:
Frédéric "LpSolit" Buclin
Created:
2016-02-21 20:39:25 CET
Size:
756 bytes
patch
obsolete
>diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl >index 66220ec..65e441f 100644 >--- a/template/en/default/bug/create/comment-guided.txt.tmpl >+++ b/template/en/default/bug/create/comment-guided.txt.tmpl >@@ -30,11 +30,11 @@ > > [%+ cgi.param("comment") IF cgi.param("comment") %] > >-[%+ IF cgi.param("reproducible") != "Choose one..." -%] >+[%+ IF cgi.param("reproducible") -%] > Reproducible: [%+ cgi.param("reproducible") %] > [% END %] > >-[% IF !(cgi.param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi.param("reproduce_steps").match('^\s*$')) %] >+[% IF cgi.param("reproduce_steps") -%] > Steps to Reproduce: > [%+ cgi.param("reproduce_steps") %] > [% END %]
diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl index 66220ec..65e441f 100644 --- a/template/en/default/bug/create/comment-guided.txt.tmpl +++ b/template/en/default/bug/create/comment-guided.txt.tmpl @@ -30,11 +30,11 @@ [%+ cgi.param("comment") IF cgi.param("comment") %] -[%+ IF cgi.param("reproducible") != "Choose one..." -%] +[%+ IF cgi.param("reproducible") -%] Reproducible: [%+ cgi.param("reproducible") %] [% END %] -[% IF !(cgi.param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi.param("reproduce_steps").match('^\s*$')) %] +[% IF cgi.param("reproduce_steps") -%] Steps to Reproduce: [%+ cgi.param("reproduce_steps") %] [% END %]
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9286
: 7479