Commit 1b65df64 authored by Olav Vitters's avatar Olav Vitters Committed by Frédéric Buclin

Bug 824636: Only show "Show dependency tree / graph" when there are bugs in the dependency chain

r/a=LpSolit
parent d6d056f9
...@@ -590,18 +590,20 @@ ...@@ -590,18 +590,20 @@
[% INCLUDE dependencies [% INCLUDE dependencies
field = bug_fields.blocked deps = bug.blocks_obj %] field = bug_fields.blocked deps = bug.blocks_obj %]
</tr> </tr>
<tr> [% IF bug.dependson.size || bug.blocked.size %]
<th>&nbsp;</th> <tr>
<th>&nbsp;</th>
<td colspan="2" align="left" id="show_dependency_tree_or_graph">
Show dependency <a href="showdependencytree.cgi?id=[% bug.bug_id %]&amp;hide_resolved=1">tree</a> <td colspan="2" align="left" id="show_dependency_tree_or_graph">
Show dependency <a href="showdependencytree.cgi?id=[% bug.bug_id %]&amp;hide_resolved=1">tree</a>
[% IF Param('webdotbase') %]
/&nbsp;<a href="showdependencygraph.cgi?id=[% bug.bug_id %]">graph</a> [% IF Param('webdotbase') %]
[% END %] /&nbsp;<a href="showdependencygraph.cgi?id=[% bug.bug_id %]">graph</a>
</td> [% END %]
</tr> </td>
</tr>
[% 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