From eeffc2b5c38786c8626431435fab7afd5446cf74 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 8 Sep 2010 13:57:23 +0200 Subject: Bug 271758: noresolveonopenblockers = on doesn't allow removing open blockers and resolve the bug in a single change r/a=mkanat --- template/en/default/global/user-error.html.tmpl | 35 +++++++------------------ 1 file changed, 10 insertions(+), 25 deletions(-) (limited to 'template/en/default/global/user-error.html.tmpl') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 1fd2a52e1..2d5ad72d7 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1483,32 +1483,17 @@ already exists. [% ELSIF error == "still_unresolved_bugs" %] - [% IF dependency_count == 1 %] - [% terms.Bug %]# [% dependencies.0.bug_id FILTER none %] - still has [% dependencies.0.dependencies FILTER html %] unresolved - [% IF dependencies.0.dependencies == 1 %] - dependency - [% ELSE %] - dependencies - [% END %]. Show - Dependency - Tree. + [% title = "Unresolved Dependencies" %] + [% terms.Bug %] [%+ bug_id FILTER bug_link(bug_id) FILTER none %] + has [% dep_count FILTER none %] unresolved + [% IF dep_count == 1 %] + dependency [% ELSE %] - There are [% dependency_count FILTER none %] open [% terms.bugs %] which - have unresolved dependencies. -
- [% FOREACH bug = dependencies %] - [% terms.Bug %]# [% bug.bug_id FILTER none %] - has [% bug.dependencies FILTER html %] open - [% IF bug.dependencies == 1 %] - dependency. - [% ELSE %] - dependencies. - [% END %] - (Dependency - Tree)
- [% END %] - [% END %] + dependencies + [% END %]. + They must either be resolved or removed from the + "[% field_descs.dependson FILTER html %]" field before you can resolve + this [% terms.bug %] as [% display_value("resolution", "FIXED") FILTER html %]. [% ELSIF error == "sudo_invalid_cookie" %] [% title = "Invalid Sudo Cookie" %] -- cgit v1.2.3-24-g4f1b