diff options
author | lpsolit%gmail.com <> | 2007-05-27 05:27:45 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-05-27 05:27:45 +0200 |
commit | 2bd57ce8e6f2c2bb59a99d825fc9d181ea2cb4a5 (patch) | |
tree | 6bd15d0b6062217eaf3e7f82eaff89f75715f702 /template/en/default/global | |
parent | 9e81bb0333048f6066610f66614a1ef163917137 (diff) | |
download | bugzilla-2bd57ce8e6f2c2bb59a99d825fc9d181ea2cb4a5.tar.gz bugzilla-2bd57ce8e6f2c2bb59a99d825fc9d181ea2cb4a5.tar.xz |
Bug 344965: Fix process_bug.cgi and bug/* templates to work with custom bug status workflow - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 485f7c403..615499426 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -243,7 +243,13 @@ [% ELSIF error == "comment_required" %] [% title = "Comment Required" %] - You have to specify a <b>comment</b> on this change. + You have to specify a <b>comment</b> + [% IF old.size && new %] + to change the [% terms.bug %] status from [% old.join(", ") FILTER html %] + to [% new FILTER html %]. + [% ELSE %] + on this change. + [% END %] Please explain your change. [% ELSIF error == "comment_too_long" %] @@ -633,7 +639,12 @@ [% title = "Your Search Makes No Sense" %] The only legal values for the <em>Attachment is patch</em> field are 0 and 1. - + + [% ELSIF error == "illegal_bug_status_transition" %] + [% title = "Illegal $terms.Bug Status Change" %] + You are not allowed to change the [% terms.bug %] status from + [%+ old.join(", ") FILTER html %] to [%+ new FILTER html %]. + [% ELSIF error == "illegal_change" %] [% title = "Not allowed" %] You tried to change the |