From: lpsolit%gmail.com <> Date: Wed, 12 Oct 2005 08:04:30 +0000 (+0000) Subject: Bug 106003: Dependency tree does not show the summary of the root bug - Patch by... X-Git-Tag: bugzilla-2.22rc1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0744a058605a9793df5970539646d2cadfaf10a;p=thirdparty%2Fbugzilla.git Bug 106003: Dependency tree does not show the summary of the root bug - Patch by Todd Stansell r=wicked a=justdave --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 01ac1e2e32..39508290d4 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -176,6 +176,7 @@ foreach my $k (keys(%seen)) { $resolution = $summary = ''; } + $vars->{'short_desc'} = $summary if ($k eq $cgi->param('id')); my @params; diff --git a/template/en/default/bug/dependency-graph.html.tmpl b/template/en/default/bug/dependency-graph.html.tmpl index af2791fc2f..4db034ea2f 100644 --- a/template/en/default/bug/dependency-graph.html.tmpl +++ b/template/en/default/bug/dependency-graph.html.tmpl @@ -39,8 +39,10 @@ %] [% 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 $bug_id" + h2 = filtered_desc %] [% END %] diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index c2e194f7fa..c313238465 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -23,9 +23,11 @@ [% 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 $terms.Bug $bugid" + h2 = filtered_desc %] [% PROCESS depthControlToolbar %]