diff options
author | myk%mozilla.org <> | 2004-02-06 02:14:01 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2004-02-06 02:14:01 +0000 |
commit | 0b01a89cc8901ad0217455563c58b26c10f6dad7 (patch) | |
tree | cfe49edaeff34420a1f8f1747002d16ed6baf550 /template/en/default/attachment/list.html.tmpl | |
parent | 038bb59e90b8e253e8b61a219c606638f63855c6 (diff) | |
download | bugs-0b01a89cc8901ad0217455563c58b26c10f6dad7.tar bugs-0b01a89cc8901ad0217455563c58b26c10f6dad7.tar.gz bugs-0b01a89cc8901ad0217455563c58b26c10f6dad7.tar.bz2 bugs-0b01a89cc8901ad0217455563c58b26c10f6dad7.tar.xz bugs-0b01a89cc8901ad0217455563c58b26c10f6dad7.zip |
Fix for bug 127995: shows the size of attachments in the show bug and attachment interfaces.
Patch by Dave Swegen <dswegen@software.plasmon.com>
r=myk
a=myk
Diffstat (limited to 'template/en/default/attachment/list.html.tmpl')
-rw-r--r-- | template/en/default/attachment/list.html.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 407ef8dfb..1ef6cab12 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -25,6 +25,7 @@ <th bgcolor="#cccccc" align="left">Attachment</th> <th bgcolor="#cccccc" align="left">Type</th> <th bgcolor="#cccccc" align="left">Created</th> + <th bgcolor="#cccccc" align="left">Size</th> [% IF show_attachment_flags %] <th bgcolor="#cccccc" align="left">Flags</th> [% END %] @@ -47,6 +48,7 @@ </td> <td valign="top">[% attachment.date FILTER time %]</td> + <td valign="top">[% attachment.datasize FILTER unitconvert %]</td> [% IF show_attachment_flags %] <td valign="top"> @@ -82,7 +84,7 @@ [% END %] <tr> - <td colspan="[% show_attachment_flags ? 4 : 3 %]"> + <td colspan="[% show_attachment_flags ? 5 : 4 %]"> <a href="attachment.cgi?bugid=[% bugid %]&action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.) </td> [% IF attachments.size %] |