]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 106003: Dependency tree does not show the summary of the root bug - Patch by...
authorlpsolit%gmail.com <>
Wed, 12 Oct 2005 08:04:30 +0000 (08:04 +0000)
committerlpsolit%gmail.com <>
Wed, 12 Oct 2005 08:04:30 +0000 (08:04 +0000)
showdependencygraph.cgi
template/en/default/bug/dependency-graph.html.tmpl
template/en/default/bug/dependency-tree.html.tmpl

index 01ac1e2e32b90c99a7294c8051a3dfc57df8d9d7..39508290d4388f6e79c23986d992ac22fa01bd7a 100755 (executable)
@@ -176,6 +176,7 @@ foreach my $k (keys(%seen)) {
         $resolution = $summary = '';
     }
 
+    $vars->{'short_desc'} = $summary if ($k eq $cgi->param('id'));
 
     my @params;
 
index af2791fc2feec48eef7b46fcdd88149f0a84767c..4db034ea2fdcd676139938401b207baf1fd7e91a 100644 (file)
  %]
 
 [% IF NOT multiple_bugs AND NOT doall %]
+  [% filtered_desc = short_desc FILTER html %]
   [% title = "$title for $terms.bug $bug_id"
      h1 = "$h1 for $terms.bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>"
+     h2 = filtered_desc
    %]
 [% END %]
 
index c2e194f7fa74f00702723f26a71fb7e76d1d145a..c31323846545fe28c8e38a2d12c65fb4d4e2f378 100644 (file)
 
 [% PROCESS global/variables.none.tmpl %]
 
+[% filtered_desc = blocked_tree.$bugid.summary FILTER html %]
 [% PROCESS global/header.html.tmpl
    title = "Dependency tree for $terms.Bug $bugid"
    h1    = "Dependency tree for <a href=\"show_bug.cgi?id=$bugid\">$terms.Bug $bugid</a>"
+   h2    = filtered_desc
 %]
 
 [% PROCESS depthControlToolbar %]