summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/list.html.tmpl
diff options
context:
space:
mode:
authormyk%mozilla.org <>2004-02-06 03:14:01 +0100
committermyk%mozilla.org <>2004-02-06 03:14:01 +0100
commit0b01a89cc8901ad0217455563c58b26c10f6dad7 (patch)
treecfe49edaeff34420a1f8f1747002d16ed6baf550 /template/en/default/attachment/list.html.tmpl
parent038bb59e90b8e253e8b61a219c606638f63855c6 (diff)
downloadbugzilla-0b01a89cc8901ad0217455563c58b26c10f6dad7.tar.gz
bugzilla-0b01a89cc8901ad0217455563c58b26c10f6dad7.tar.xz
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.tmpl4
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 %]&amp;action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.)
</td>
[% IF attachments.size %]