summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-03-18 14:55:41 +0100
committerjustdave%syndicomm.com <>2004-03-18 14:55:41 +0100
commit39a329b9ac46424a4552e8c68e44467173a8238c (patch)
tree57da556be3e1e1e7106e314738b4a9cf1e378703 /template
parent3d59b2bd807ec35c511fd76df11b2cbb61289242 (diff)
downloadbugzilla-39a329b9ac46424a4552e8c68e44467173a8238c.tar.gz
bugzilla-39a329b9ac46424a4552e8c68e44467173a8238c.tar.xz
Bug 24496: Adds a parameter "noresolveonopenblockers" which when enabled, prevents bugs from being closed if there are any bugs blocking it which are still open.
Patch by Andreas Höfler <andreas.hoefler@bearingpoint.com> r= justdave, a= myk
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 1577619ee..3bbca0cec 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -666,6 +666,32 @@
Sorry - sidebar.cgi currently only supports Mozilla based web browsers.
<a href="http://www.mozilla.org">Upgrade today</a>. :-)
+ [% ELSIF error == "still_unresolved_bugs" %]
+ [% IF dependency_count == 1 %]
+ [% terms.Bug %]# <a href="show_bug.cgi?id=[% dependencies.0.bug_id %]">[% dependencies.0.bug_id %]</a>
+ has still [% dependencies.0.dependencies FILTER html %] unresolved
+ [% IF dependencies.0.dependencies == 1 %]
+ dependency
+ [% ELSE %]
+ dependencies
+ [% END %]. Show
+ <a href="showdependencytree.cgi?id=[% dependencies.0.bug_id %]">Dependency Tree</a>.
+ [% ELSE %]
+ There are [% dependency_count %] open [% terms.bugs %] which
+ have unresolved dependencies.
+ <br>
+ [% FOREACH bug = dependencies %]
+ [% terms.Bug %]# <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
+ has [% bug.dependencies FILTER html %] open
+ [% IF bug.dependencies == 1 %]
+ dependency.
+ [% ELSE %]
+ dependencies.
+ [% END %]
+ (<a href="showdependencytree.cgi?id=[% bug.bug_id %]">Dependency Tree</a>)<br>
+ [% END %]
+ [% END %]
+
[% ELSIF error == "too_many_votes_for_bug" %]
[% title = "Illegal Vote" %]
You may only use at most [% max FILTER html %] votes for a single