Could you tell me how to delete fields like SEVERITY , PLATFORM or OS from
the Bugs' creation page ?
Regards
*** Confidentiality Notice: This email message (including attachments, if
any) is from CP Bourg sa and is intended only for the use of the named
addressee(s). It contains information that is confidential and/or legally
privileged or otherwise protected from unauthorised disclosure. If you are
not the intended recipient, you are hereby notified that any use, reading,
distribution or copying of this e-mail and any attachment is strictly
prohibited. If you have received this e-mail in error, please notify the
sender by return e-mail and immediately destroy the email message and any
attachments as well as any copies of it.***
copy template/en/default/bug/create/create.html.tmpl to
template/en/custom/bug/create/create.html.tmpl
Edit template/en/custom/bug/create/create.html.tmpl and change any
displayed text for OS/Platform/Severity to a hidden input:
<input type="hidden" id="bug_severity" name="bug_severity"
value="[% default.bug_severity FILTER html %]">
What about #line... ?
Must I change these line?
$output .= "\n </select>\n </td>\n </tr>\n\n <tr>\n
<td> </td>\n <td colspan=\"3\"> </td>\n </tr>\n\n <tr>";
#line 228 "template/en/default/bug/create/create.html.tmpl"
$stash->set('sel', { 'description' => 'Severity', 'name' =>
'bug_severity' });
#line 229 "template/en/default/bug/create/create.html.tmpl"
$output .= $context->include('select');
$output .= "\n";
#line 231 "template/en/default/bug/create/create.html.tmpl"
$stash->set('sel', { 'description' => 'Platform', 'name' =>
'rep_platform' });
#line 232 "template/en/default/bug/create/create.html.tmpl"
$output .= $context->include('select');
$output .= "\n </tr>\n\n <tr>";
#line 243 "template/en/default/bug/create/create.html.tmpl"
if ($stash->get(['Param', [ 'letsubmitterchoosepriority' ]])) {
#line 237 "template/en/default/bug/create/create.html.tmpl"
$stash->set('sel', { 'description' => 'Priority', 'name' => 'priority'
});
#line 238 "template/en/default/bug/create/create.html.tmpl"
$output .= $context->include('select');
}
Regards
"Tosh, Michael J" <michael...@lmco.com>
Envoyé par : support-bugz...@lists.mozilla.org
12/03/2008 16:04
A
d_lem...@cpbourg.com, support-...@lists.mozilla.org
cc
Objet
RE: How to delete fields
_______________________________________________
support-bugzilla mailing list
support-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-...@lists.mozilla.org in the To: field when you
reply.
*** See our disclaimer at http://www.cpbourg.com/_Text/disclaimer.htm ***
________________________________
Regards
12/03/2008 16:04
https://lists.mozilla.org/listinfo/support-bugzilla <https://lists.mozilla.org/listinfo/support-bugzilla>
PLEASE put support-...@lists.mozilla.org in the To: field when you reply.
*** See our disclaimer at http://www.cpbourg.com/_Text/disclaimer.htm <http://www.cpbourg.com/_Text/disclaimer.htm> ***
<tr>
[% sel = { description => 'Severity', name => 'bug_severity' } %]
[% INCLUDE select %]
[% sel = { description => 'Platform', name => 'rep_platform' } %]
[% INCLUDE select %]
</tr>
"Tosh, Michael J" <michael...@lmco.com>
Envoyé par : support-bugz...@lists.mozilla.org
13/03/2008 15:02
A
d_lem...@cpbourg.com
cc
support-bugz...@lists.mozilla.org,
support-...@lists.mozilla.org
________________________________
Regards
12/03/2008 16:04
*** See our disclaimer at http://www.cpbourg.com/_Text/disclaimer.htm ***
[% sel = { description => 'Platform', name => 'rep_platform' } %]
[% INCLUDE select %]
</tr>
Find this:
<form name="Create" id="Create" method="post" action="post_bug.cgi"
enctype="multipart/form-data">
<input type="hidden" name="product" value="[% product.name FILTER
html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
Then add this after the inputs listed above:
<input type=hidden id="bug_severity" name="bug_severity" value="[%
default.bug_severity FILTER html %]">
<input type=hidden id="rep_platform" name="rep_platform" value="[%
default.rep_platform FILTER html %]">