summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-12 10:40:31 +0100
committerjocuri%softhome.net <>2004-12-12 10:40:31 +0100
commitebcb71f97ff25dfad53f8b1a7ded8b34f60053db (patch)
treedafd3b3f7d87136ca67fa50b0c204a9e8f606882 /template
parent1986e290b8d554f9e2c12f44dd7e119792378139 (diff)
downloadbugzilla-ebcb71f97ff25dfad53f8b1a7ded8b34f60053db.tar.gz
bugzilla-ebcb71f97ff25dfad53f8b1a7ded8b34f60053db.tar.xz
Patch for bug 273873: bug-creation template for UNCONFIRMED shouldn't set status to NEW; patch by Nick.Barnes@pobox.com, r=justdave, a=justdave.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/create/create.html.tmpl16
1 files changed, 7 insertions, 9 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index 816b90038..54ff22fbd 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -71,12 +71,6 @@ function set_assign_to() {
<form name="Create" id="Create" method="post" action="post_bug.cgi">
<input type="hidden" name="product" value="[% product FILTER html %]">
-[% IF bug_status.size <= 1 %]
- <input type="hidden" name="bug_status"
- value="[% default.bug_status FILTER html %]">
-[% END %]
-
-
<table cellspacing="2" cellpadding="0" border="0">
<tr>
@@ -169,14 +163,18 @@ function set_assign_to() {
<td colspan="3"></td>
</tr>
-[% IF bug_status.size > 1 %]
<tr>
+[% IF bug_status.size <= 1 %]
+ <input type="hidden" name="bug_status"
+ value="[% default.bug_status FILTER html %]">
+ <td align="right" valign="top"><strong>Initial State:</strong></td>
+ <td valign="top">[% default.bug_status FILTER html %]</td>
+[% ELSE %]
[% sel = { description => 'Initial State', name => 'bug_status' } %]
[% INCLUDE select %]
-
+[% END %]
<td colspan="2"></td>
</tr>
-[% END %]
<tr>
<td align="right">