summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-19 03:31:10 +0100
committerGitHub <noreply@github.com>2018-03-19 03:31:10 +0100
commitdaa2d6b1c40354ecce0e48e6c5ee686efe642c4b (patch)
treedc0781d54354999b4416d3b8ec5696112107bc05 /template
parent459ebf9cca578dc1d88f13da3a4fd0499cb7f2f8 (diff)
downloadbugzilla-daa2d6b1c40354ecce0e48e6c5ee686efe642c4b.tar.gz
bugzilla-daa2d6b1c40354ecce0e48e6c5ee686efe642c4b.tar.xz
fix all the tests
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/create.html.tmpl4
-rw-r--r--template/en/default/global/user-error.html.tmpl5
2 files changed, 2 insertions, 7 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index 312e87a33..7006448d3 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -83,14 +83,14 @@ TUI_hide_default('attachment_text_field');
<td>
<em>If you want to assign this [% terms.bug %] to yourself,
check the box below.</em><br>
- [% IF bug.assigned_to.login == Bugzilla.params.nobody_user || bug.assigned_to.login.search('.bugs$') %]
+ [% IF bug.assigned_to.login == Param('nobody_user') || bug.assigned_to.login.search('.bugs$') %]
[% take_if_patch = 1 %]
[% END %]
<input type="checkbox" id="takebug" name="takebug" value="1" [% IF take_if_patch %] data-take-if-patch="1" [% END %]>
<label for="takebug">take [% terms.bug %]</label>
[% bug_statuses = [] %]
[% FOREACH bug_status = bug.status.can_change_to %]
- [% NEXT IF bug_status.name == "UNCONFIRMED"
+ [% NEXT IF bug_status.name == "UNCONFIRMED"
&& !bug.product_obj.allows_unconfirmed %]
[% bug_statuses.push(bug_status) IF bug_status.is_open %]
[% END %]
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 1ee33dd89..c6efb5649 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1605,11 +1605,6 @@
[% admindocslinks = {'products.html' => 'Administering products'} %]
You must enter a description for this product.
- [% ELSIF error == "product_must_have_security_group" %]
- [% title = "Product needs Security Group" %]
- [% admindocslinks = {'products.html' => 'Administering products'} %]
- You must enter a default security group for this product.
-
[% ELSIF error == "product_must_have_version" %]
[% title = "Product needs Version" %]
[% admindocslinks = {'products.html' => 'Administering products',