From 0b01a89cc8901ad0217455563c58b26c10f6dad7 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Fri, 6 Feb 2004 02:14:01 +0000 Subject: Fix for bug 127995: shows the size of attachments in the show bug and attachment interfaces. Patch by Dave Swegen r=myk a=myk --- template/en/default/attachment/edit.html.tmpl | 1 + template/en/default/attachment/list.html.tmpl | 4 +++- template/en/default/attachment/show-multiple.html.tmpl | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'template') diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 671842152..19cc06550 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -211,6 +211,7 @@ Filename:

+ Size: [% datasize FILTER unitconvert %]
MIME Type:

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 @@ Attachment Type Created + Size [% IF show_attachment_flags %] Flags [% END %] @@ -47,6 +48,7 @@ [% attachment.date FILTER time %] + [% attachment.datasize FILTER unitconvert %] [% IF show_attachment_flags %] @@ -82,7 +84,7 @@ [% END %] - + Create a New Attachment (proposed patch, testcase, etc.) [% IF attachments.size %] diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl index 3159b8e87..48f03dff1 100644 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -40,7 +40,7 @@
- @@ -62,6 +62,7 @@ +
+ Attachment #[% a.attachid %]
[% a.date FILTER time %][% a.datasize FILTER unitconvert %] [% IF a.statuses.size == 0 %] -- cgit v1.2.3-24-g4f1b