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

This commit is contained in:
lpsolit%gmail.com 2006-07-22 20:41:44 +00:00
Родитель a9cdba2792
Коммит c698a14afd
3 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -521,7 +521,7 @@
[% PROCESS dependencies
dep = { title => "depends on", fieldname => "dependson" } %]
<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>
[% IF Param('webdotbase') %]

Просмотреть файл

@ -61,7 +61,7 @@
[%# *** Dependencies, Votes, Activity, Print-version *** %]
[% IF bug %]
<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') %]
<link rel="Show" title="Dependency Graph"
href="showdependencygraph.cgi?id=[% bug.bug_id %]">

Просмотреть файл

@ -1244,7 +1244,8 @@
[% ELSE %]
dependencies
[% 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 %]
There are [% dependency_count FILTER none %] open [% terms.bugs %] which
have unresolved dependencies.
@ -1257,7 +1258,8 @@
[% ELSE %]
dependencies.
[% 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 %]