Bug 106003: Dependency tree does not show the summary of the root bug - Patch by Todd Stansell <tjs@tellme.com> r=wicked a=justdave

git-svn-id: svn://10.0.0.236/trunk@182047 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com 2005-10-12 01:04:30 +00:00
parent b54c60491b
commit 445daaa37d
3 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,7 @@ foreach my $k (keys(%seen)) {
$resolution = $summary = '';
}
$vars->{'short_desc'} = $summary if ($k eq $cgi->param('id'));
my @params;

View File

@ -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 <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>"
h2 = filtered_desc
%]
[% END %]

View File

@ -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 <a href=\"show_bug.cgi?id=$bugid\">$terms.Bug $bugid</a>"
h2 = filtered_desc
%]
[% PROCESS depthControlToolbar %]