diff options
author | lpsolit%gmail.com <> | 2005-09-09 01:58:56 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-09 01:58:56 +0200 |
commit | b173be41f6e36f7abd0134090b9906db3f2ffd30 (patch) | |
tree | 8169f8416fc411a5839dcfb681cfb228ecc03830 /template/en/default/global | |
parent | 25385f53b2dc79bf807f6fbef2f0f73491f83445 (diff) | |
download | bugzilla-b173be41f6e36f7abd0134090b9906db3f2ffd30.tar.gz bugzilla-b173be41f6e36f7abd0134090b9906db3f2ffd30.tar.xz |
Bug 306242: Templatize the 'update product' bit of editproducts.cgi - Patch by GavinS <bugzilla@chimpychompy.org> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 54 |
1 files changed, 49 insertions, 5 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 34340fc41..be6108e81 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -288,11 +288,6 @@ [% title = "Component Requires Default Assignee" %] You must enter a default assignee for component '[% name FILTER html %]'. - [% ELSIF error == "product_not_specified" %] - [% title = "No Product Specified" %] - No product specified when trying to edit components, milestones or - versions. - [% ELSIF error == "component_not_specified" %] [% title = "No Component Specified" %] No component specified when trying to edit components. @@ -951,6 +946,50 @@ Patches cannot be more than [% Param('maxpatchsize') %] KB in size. Try breaking your patch into several pieces. + [% ELSIF error == "prod_votes_per_bug_must_be_nonnegative" %] + [% title = "Maximum Votes Must Be Non-negative" %] + '[% maxvotesperbug FILTER html %]' is an invalid value for the + <em>'Maximum Votes Per [% terms.Bug %]'</em> field, which should + contain a non-negative number. + + [% ELSIF error == "prod_votes_per_user_must_be_nonnegative" %] + [% title = "Votes Per User Must Be Non-negative" %] + '[% votesperuser FILTER html %]' is an invalid value for the + <em>'Votes Per User'</em> field, which should contain a + non-negative number. + + [% ELSIF error == "prod_votes_to_confirm_must_be_nonnegative" %] + [% title = "Votes To Confirm Must Be Non-negative" %] + '[% votestoconfirm FILTER html %]' is an invalid value for the + <em>'Votes To Confirm'</em> field, which should contain a + non-negative number. + + [% ELSIF error == "prod_cant_delete_description" %] + [% title = "Cannot delete product description" %] + Cannot delete the description for product + '[% product FILTER html %]'. + + [% ELSIF error == "prod_cant_delete_name" %] + [% title = "Cannot delete product name" %] + Cannot delete the product name for product '[% product FILTER html %]'. + + [% ELSIF error == "prod_name_already_in_use" %] + [% title = "Product name already in use" %] + The product name '[% product FILTER html %]' is already in use. + + [% ELSIF error == "prod_must_define_defaultmilestone" %] + [% title = "Must define new default milestone" %] + [% IF classification %] + [% classification_url_part = BLOCK %]&classification= + [%- classification FILTER url_quote %] + [% END %] + [% END %] + You must <a href="editmilestones.cgi?action=add&product= + [%- product FILTER url_quote %] + [%- classification_url_part FILTER none %]"> + create the milestone '[% defaultmilestone FILTER html %]'</a> before + it can be made the default milestone for product '[% product FILTER html %]'. + [% ELSIF error == "product_disabled" %] [% title = BLOCK %]Product closed for [% terms.Bugs %] Entry[% END %] Sorry, entering [% terms.bugs %] into the @@ -967,6 +1006,11 @@ You must reassign those [% terms.bugs %] to another product before you can delete this one. + [% ELSIF error == "product_not_specified" %] + [% title = "No Product Specified" %] + No product specified when trying to edit components, milestones, versions + or product. + [% ELSIF error == "query_name_missing" %] [% title = "No Search Name Specified" %] You must enter a name for your search. |