From 559f89582199e4ca531398a5cadd03632526d525 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 7 Jan 2009 21:22:08 +0000 Subject: Bug 450403: Add ability to view comments via the web service (Bug.comments) Patch By Max Kanat-Alexander r=dkl, a=mkanat --- template/en/default/global/code-error.html.tmpl | 6 ++++++ template/en/default/global/user-error.html.tmpl | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 37e052f81..da8f902d4 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -345,6 +345,12 @@ a [% param FILTER html %] argument, and that argument was not set. + [% ELSIF error == "params_required" %] + [% title = "Missing Parameter" %] + The function [% function FILTER html %] requires + that you set one of the following parameters: + [% params.join(', ') FILTER html %] + [% ELSIF error == "product_empty_group_controls" %] [% title = "Missing Group Controls" %] New settings must be defined to edit group controls for diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 191f6eebd..d92b04622 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -239,10 +239,16 @@ [% title = "Chart Too Large" %] Sorry, but 2000 x 2000 is the maximum size for a chart. + [% ELSIF error == "comment_id_invalid" %] + [% id FILTER html %] is not a valid comment id. + [% ELSIF error == "comment_invalid_isprivate" %] You tried to modify the privacy of comment id [% id FILTER html %], but that is not a valid comment on this [% terms.bug %]. + [% ELSIF error == "comment_is_private" %] + Comment id [% id FILTER html %] is private. + [% ELSIF error == "comment_required" %] [% title = "Comment Required" %] You have to specify a -- cgit v1.2.3-24-g4f1b