2
[%# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Bugzilla Bug Tracking System.
14
# The Initial Developer of the Original Code is Netscape Communications
15
# Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
19
# Contributor(s): Gervase Markham <gerv@gerv.net>
22
# This template has no interface.
24
# Form variables from a bug submission (i.e. the fields on a template from
25
# enter_bug.cgi) can be access via Bugzilla.cgi.param. It can be used to
26
# pull out various custom fields and format an initial Description entry
30
[% cgi = Bugzilla.cgi %]
31
User-Agent: [%+ cgi.user_agent() %]
32
Build Identifier: [%+ cgi.param("buildid") %]
34
[%+ cgi.param("comment") IF cgi.param("comment") %]
36
[%+ IF cgi.param("reproducible") != "Choose one..." -%]
37
Reproducible: [%+ cgi.param("reproducible") %]
40
[% IF !(cgi.param("reproduce_steps").match('^1\.\s+2\.\s+3\.\s+$') || cgi.param("reproduce_steps").match('^\s*$')) %]
42
[%+ cgi.param("reproduce_steps") %]
45
[% IF cgi.param("actual_results") -%]
47
[%+ cgi.param("actual_results") %]
50
[% IF cgi.param("expected_results") %]
52
[%+ cgi.param("expected_results") %]
55
[%+ cgi.param("additional_info") %]