From 5c42043e6d772478589a6e4d5d43d2fcc10c5b22 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 14 Mar 2007 01:23:32 -0700 Subject: [PATCH] - List previous/new title when retitling, and show date of control actions (closes: #127354) --- cgi/bugreport.cgi | 4 ++++ debian/changelog | 2 ++ 2 files changed, 6 insertions(+) diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 4c8e05d..c04854b 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -416,6 +416,7 @@ sub handle_record{ my $output = ''; local $_ = $record->{type}; if (/html/) { + my ($time) = $record->{text} =~ //; my $class = $record->{text} =~ /^(?:Acknowledgement|Reply|Information|Report|Notification)/ ? 'infmessage':'msgreceived'; $output .= decode_rfc1522($record->{text}); # Link to forwarded http:// urls in the midst of the report @@ -432,6 +433,9 @@ sub handle_record{ # Add links to reassigned packages $output =~ s{(Bug reassigned from package \`)([^\']+)(' to \`)([^\']+)(')} {$1.q($2).$3.q($4).$5}eo; + if (defined $time) { + $output .= ' ('.strftime('%a, %d %b %Y %T GMT',gmtime($time)).') '; + } $output .= 'Full text and rfc822 format available.'; diff --git a/debian/changelog b/debian/changelog index f1522fd..e581417 100644 --- a/debian/changelog +++ b/debian/changelog @@ -157,6 +157,8 @@ debbugs (2.4.2) UNRELEASED; urgency=low - Add link from singlemsg page to main page; remove useless links (closes: #404806) - Support usertagging cloned bugs (closes: #375697) + - List previous/new title when retitling, and show date of control + actions (closes: #127354) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100 -- 2.39.2