summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorghendricks%novell.com <>2009-06-01 16:43:12 +0200
committerghendricks%novell.com <>2009-06-01 16:43:12 +0200
commit1a9927c0c012c6c2dcc82552d0e397c992599754 (patch)
tree802b342f6124dd5f4e915611a75599b74ffc8ec4 /template
parentc7093fe77e5f23ac400c7a9a5f47952c04d40e53 (diff)
downloadbugzilla-1a9927c0c012c6c2dcc82552d0e397c992599754.tar.gz
bugzilla-1a9927c0c012c6c2dcc82552d0e397c992599754.tar.xz
Bug 494628 - Crash when trying to file a bug in a closed product r=LpSolit patch by ghendricks@novell.com
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/components/confirm-delete.html.tmpl4
-rw-r--r--template/en/default/bug/field.html.tmpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/admin/components/confirm-delete.html.tmpl b/template/en/default/admin/components/confirm-delete.html.tmpl
index 53bba1e35..d0a1385f1 100644
--- a/template/en/default/admin/components/confirm-delete.html.tmpl
+++ b/template/en/default/admin/components/confirm-delete.html.tmpl
@@ -82,8 +82,8 @@ from '[% product.name FILTER html %]' product
</tr>
<tr>
- <TD VALIGN="top">Closed for [% terms.bugs %]:</TD>
- <TD VALIGN="top">[% IF product.disallow_new %]Yes[% ELSE %]No[% END %]</td>
+ <TD VALIGN="top">Open for [% terms.bugs %]:</TD>
+ <TD VALIGN="top">[% IF product.is_active %]Yes[% ELSE %]No[% END %]</td>
</tr>
<tr>
<td valign="top">[% terms.Bugs %]:</td>
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index 68cc82a77..1d5a194e2 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -140,7 +140,7 @@
selected="selected"
[% ELSIF (control_field && control_value
&& !bug.${control_field.name}.contains(control_value.name))
- || (field.name == "product" && legal_value.disallow_new)
+ || (field.name == "product" && !legal_value.is_active)
%]
class="bz_hidden_option" disabled="disabled"
[% END %]>