- Closed for [% terms.bugs %]: |
+ Closed for [% terms.bugs %] |
[% IF product.is_active %]
open
@@ -99,26 +91,19 @@
[% IF product.components.size > 0 %]
- Components:
+ Components
[% ELSE %]
- Components:
+ Components
[% END %]
|
[% IF product.components.size > 0 %]
-
+
[% FOREACH c = product.components %]
- [% c.name FILTER html %]: |
- [%# descriptions are intentionally not filtered to allow html content %]
-
- [% IF c.description %]
- [% c.description FILTER html_light %]
- [% ELSE %]
- missing
- [% END %]
- |
+ [% c.name FILTER html %]: |
+ [% c.description FILTER html_light %] |
[% END %]
@@ -132,17 +117,19 @@
[% IF product.versions.size > 0 %]
- Versions:
+ Versions
[% ELSE %]
- Versions:
+ Versions
[% END %]
|
[% IF product.versions.size > 0 %]
- [% FOREACH v = product.versions %]
- [% v.name FILTER html %]
- [% END %]
+
+ [% FOREACH v = product.versions %]
+ [% v.name FILTER html %]
+ [% END %]
+
[% ELSE %]
none
[% END %]
@@ -152,20 +139,22 @@
[% IF Param('usetargetmilestone') %]
|
-
+ |
[% IF product.milestones.size > 0 %]
- Milestones:
+ Milestones
[% ELSE %]
- Milestones:
+ Milestones
[% END %]
|
[% IF product.milestones.size > 0 %]
- [% FOREACH m = product.milestones %]
- [% m.name FILTER html %]
- [% END %]
+
+ [% FOREACH m = product.milestones %]
+ [% m.name FILTER html %]
+ [% END %]
+
[% ELSE %]
none
[% END %]
@@ -174,7 +163,7 @@
[% END %]
|
- [% terms.Bugs %]: |
+ [% terms.Bugs %] |
[% IF product.bug_count %]
Sorry, there
-
- [% IF product.bug_count > 1 %]
- are [% product.bug_count FILTER html %] [%+ terms.bugs %]
- [% ELSE %]
- is 1 [% terms.bug %]
- [% END %]
-
- outstanding for this product. You must reassign
-
- [% IF product.bug_count > 1 %]
- those [% terms.bugs %]
- [% ELSE %]
- that [% terms.bug %]
- [% END %]
-
- to another product before you can delete this one.
+
+ Sorry, there
+ [% IF product.bug_count > 1 %]
+ are [% product.bug_count FILTER html %] [%+ terms.bugs %]
+ [% ELSE %]
+ is 1 [% terms.bug %]
+ [% END %]
+ outstanding for this product. You must reassign
+ [% IF product.bug_count > 1 %]
+ those [% terms.bugs %]
+ [% ELSE %]
+ that [% terms.bug %]
+ [% END %]
+ to another product before you can delete this one.
+
[% ELSE %]
-
-
-
- There
- [% IF product.bug_count > 1 %]
- are [% product.bug_count FILTER html %] [%+ terms.bugs %]
- [% ELSE %]
- is 1 [% terms.bug %]
- [% END %]
- entered for this product! When you delete this
- product, ALL stored [% terms.bugs %] and
- their history will be deleted, too.
- |
-
-
+
+ There
+ [% IF product.bug_count > 1 %]
+ are [% product.bug_count FILTER html %] [%+ terms.bugs %]
+ [% ELSE %]
+ is 1 [% terms.bug %]
+ [% END %]
+ entered for this product! When you delete this product, ALL
+ stored [% terms.bugs %] and their history will be deleted, too.
+
[% END %]
diff --git a/template/en/default/admin/products/create.html.tmpl b/template/en/default/admin/products/create.html.tmpl
index 6d4009586..0dcfd7283 100644
--- a/template/en/default/admin/products/create.html.tmpl
+++ b/template/en/default/admin/products/create.html.tmpl
@@ -17,6 +17,7 @@
[% PROCESS global/header.html.tmpl
title = title
+ generate_api_token = 1
style_urls = ['skins/standard/admin.css']
javascript_urls = ['js/util.js', 'js/field.js']
yui = [ 'autocomplete' ]
@@ -30,18 +31,18 @@
%]
| |