]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 327657: "Edit attachment" page should show me when the file was attached
authorMatt Selsky <selsky@columbia.edu>
Tue, 29 May 2012 14:41:25 +0000 (16:41 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 29 May 2012 14:41:25 +0000 (16:41 +0200)
r/a=LpSolit

template/en/default/attachment/edit.html.tmpl

index 69b91abbf60df51665158790b0600fcc39f5e25e..c6ee527a50dbd46cc75034c2b998af6fd932eaaa 100644 (file)
@@ -59,7 +59,7 @@
             [%+ attachment.datasize FILTER unitconvert %]
           [% ELSE %]
             <em>deleted</em>
-          [% END %], created by [%+ INCLUDE global/user.html.tmpl who = attachment.attacher %]
+          [% END %], created by [%+ INCLUDE global/user.html.tmpl who = attachment.attacher %] on [%+ attachment.attached FILTER time %]
           [% IF attachment.isprivate %];
             <span class="bz_private">only visible to <strong>[% Param('insidergroup') FILTER html %]</strong> members</span>
           [% END %]
             <span class="label">Creator:</span>
             [%+ INCLUDE global/user.html.tmpl who = attachment.attacher %]
           </div>
-          
+
+          <div id="attachment_created">
+            <span class="label">Created:</span>
+            [%+ attachment.attached FILTER time %]
+          </div>
+
           <div id="attachment_size">
             <span class="label">Size:</span>
             [% IF attachment.datasize %]