From 7e9cd9b8b018d91db1a983933de72d08846a1ccd Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 23 Jul 2006 03:41:24 +0000 Subject: Bug 326946: Hide resolved bugs by default when accessing showdependencytree.cgi from show_bug.cgi - Patch by Frédéric Buclin r=bkor a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/bug/edit.html.tmpl | 2 +- template/en/default/global/site-navigation.html.tmpl | 2 +- template/en/default/global/user-error.html.tmpl | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 83bb5fb51..a2c13f2ea 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -521,7 +521,7 @@ [% PROCESS dependencies dep = { title => "depends on", fieldname => "dependson" } %] - Show + Show dependency tree [% IF Param('webdotbase') %] diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl index 9ea2203bf..8714b5ec0 100644 --- a/template/en/default/global/site-navigation.html.tmpl +++ b/template/en/default/global/site-navigation.html.tmpl @@ -61,7 +61,7 @@ [%# *** Dependencies, Votes, Activity, Print-version *** %] [% IF bug %] + href="showdependencytree.cgi?id=[% bug.bug_id %]&hide_resolved=1"> [% IF Param('webdotbase') %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index b8dbeb24f..1827da090 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1244,7 +1244,8 @@ [% ELSE %] dependencies [% END %]. Show - Dependency Tree. + Dependency + Tree. [% ELSE %] There are [% dependency_count FILTER none %] open [% terms.bugs %] which have unresolved dependencies. @@ -1257,7 +1258,8 @@ [% ELSE %] dependencies. [% END %] - (Dependency Tree)
+ (Dependency + Tree)
[% END %] [% END %] -- cgit v1.2.3-24-g4f1b