From: lpsolit%gmail.com <> Date: Sun, 31 Dec 2006 08:45:07 +0000 (+0000) Subject: Bug 248037: Link from attachment 'created' date to comment where it was created ... X-Git-Tag: bugzilla-2.23.4~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21ccfc92309524062daad9ca7ac69d9dfa0e25b2;p=thirdparty%2Fbugzilla.git Bug 248037: Link from attachment 'created' date to comment where it was created - Patch by Frédéric Buclin r=timeless a=justdave --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 608d35fcb9..b4e0dcb903 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -388,7 +388,7 @@ sub get_attachment_link { my $linkval = "attachment.cgi?id=$attachid"; # Whitespace matters here because these links are in
 tags.
         return qq||
-               . qq|$link_text|
+               . qq|$link_text|
                . qq| [details]|
                . qq||;
     }
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 5da894e072..154cb98b18 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -91,7 +91,9 @@
           [% attachment.attacher.name || attachment.attacher.login FILTER html %]
           
         
-        [% attachment.attached FILTER time %]
+        
+          [% attachment.attached FILTER time %]
+        
         
           [% IF attachment.datasize %]
             [% attachment.datasize FILTER unitconvert %]