From 27c4d18f69e135ff72f2b93b4fb2a06853c78545 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" <> Date: Wed, 27 Dec 2006 09:28:15 +0000 Subject: Bug 364172 - "Wording on showdependencytree.cgi is bad when there are no dependencies" [p=reed r=bkor a=justdave] --- template/en/default/bug/dependency-tree.html.tmpl | 35 ++++++++++++----------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index e01352a57..20940d663 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -58,22 +58,29 @@ [% global.seen = {} %] [%# Display the tree of bugs that this bug depends on. %]
- [% ELSE %] -
None
[% END %] [% END %] @@ -208,7 +212,7 @@ : ( maxdepth ? maxdepth - 1 : realdepth - 1 ) %]"> - @@ -241,8 +245,7 @@ [% END %] = realdepth %] - %]> + [% "disabled" IF realdepth < 2 || !maxdepth || maxdepth >= realdepth %]> -- cgit v1.2.1