Commit 7e9cd9b8 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 326946: Hide resolved bugs by default when accessing showdependencytree.cgi…

Bug 326946: Hide resolved bugs by default when accessing showdependencytree.cgi from show_bug.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=justdave
parent 3ac22882
...@@ -521,7 +521,7 @@ ...@@ -521,7 +521,7 @@
[% PROCESS dependencies [% PROCESS dependencies
dep = { title => "depends on", fieldname => "dependson" } %] dep = { title => "depends on", fieldname => "dependson" } %]
<td rowspan="2"> <td rowspan="2">
<a href="showdependencytree.cgi?id=[% bug.bug_id %]">Show <a href="showdependencytree.cgi?id=[% bug.bug_id %]&amp;hide_resolved=1">Show
dependency tree</a> dependency tree</a>
[% IF Param('webdotbase') %] [% IF Param('webdotbase') %]
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
[%# *** Dependencies, Votes, Activity, Print-version *** %] [%# *** Dependencies, Votes, Activity, Print-version *** %]
[% IF bug %] [% IF bug %]
<link rel="Show" title="Dependency Tree" <link rel="Show" title="Dependency Tree"
href="showdependencytree.cgi?id=[% bug.bug_id %]"> href="showdependencytree.cgi?id=[% bug.bug_id %]&amp;hide_resolved=1">
[% IF Param('webdotbase') %] [% IF Param('webdotbase') %]
<link rel="Show" title="Dependency Graph" <link rel="Show" title="Dependency Graph"
href="showdependencygraph.cgi?id=[% bug.bug_id %]"> href="showdependencygraph.cgi?id=[% bug.bug_id %]">
......
...@@ -1244,7 +1244,8 @@ ...@@ -1244,7 +1244,8 @@
[% ELSE %] [% ELSE %]
dependencies dependencies
[% END %]. Show [% END %]. Show
<a href="showdependencytree.cgi?id=[% dependencies.0.bug_id FILTER none %]">Dependency Tree</a>. <a href="showdependencytree.cgi?id=[% dependencies.0.bug_id FILTER none %]&amp;hide_resolved=1">Dependency
Tree</a>.
[% ELSE %] [% ELSE %]
There are [% dependency_count FILTER none %] open [% terms.bugs %] which There are [% dependency_count FILTER none %] open [% terms.bugs %] which
have unresolved dependencies. have unresolved dependencies.
...@@ -1257,7 +1258,8 @@ ...@@ -1257,7 +1258,8 @@
[% ELSE %] [% ELSE %]
dependencies. dependencies.
[% END %] [% END %]
(<a href="showdependencytree.cgi?id=[% bug.bug_id FILTER none %]">Dependency Tree</a>)<br> (<a href="showdependencytree.cgi?id=[% bug.bug_id FILTER none %]&amp;hide_resolved=1">Dependency
Tree</a>)<br>
[% END %] [% END %]
[% END %] [% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment