From: Don Armstrong Date: Sat, 16 Aug 2008 20:09:19 +0000 (-0700) Subject: add forwarded information; update bzr ignore X-Git-Tag: release/2.6.0~472^2~13 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=451102ed8676fc706d5ac49932fc15dd99dbb12d;p=debbugs.git add forwarded information; update bzr ignore --- diff --git a/.bzrignore b/.bzrignore new file mode 100644 index 0000000..0b9634c --- /dev/null +++ b/.bzrignore @@ -0,0 +1,4 @@ +Makefile.perl +Makefile.perl.old +build-stamp +install-stamp diff --git a/templates/en_US/cgi/bugreport_buginfo.tmpl b/templates/en_US/cgi/bugreport_buginfo.tmpl index 2e9b182..8affad1 100644 --- a/templates/en_US/cgi/bugreport_buginfo.tmpl +++ b/templates/en_US/cgi/bugreport_buginfo.tmpl @@ -59,6 +59,15 @@ $output .= q(

Bug is archived. No further changes may be made.

) } $output +}{ my $output = ''; + if (length($status{forwarded})) { + $output = "

Forwarded to " . + join(', ', + map {maybelink($_)} + split /\,\s+/,$status{forwarded} + )."

\n"; + } + $output; }{ my $output = ''; if (exists $status{summary} and defined $status{summary} and length $status{summary}) { $output .= q(

Summary: ).html_escape($status{summary}).q(

);