aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/attachment/list.atml
diff options
context:
space:
mode:
authormyk%mozilla.org <>2001-10-26 03:37:50 +0000
committermyk%mozilla.org <>2001-10-26 03:37:50 +0000
commita87a5b411b4f173a7b1de2b919e71335306349ed (patch)
treefb0f27f18007cacb84f677178b47aef429f5047b /template/default/attachment/list.atml
parent3a866ab78f91873f42a13710f299bcb0f176b49c (diff)
downloadbugs-a87a5b411b4f173a7b1de2b919e71335306349ed.tar
bugs-a87a5b411b4f173a7b1de2b919e71335306349ed.tar.gz
bugs-a87a5b411b4f173a7b1de2b919e71335306349ed.tar.bz2
bugs-a87a5b411b4f173a7b1de2b919e71335306349ed.tar.xz
bugs-a87a5b411b4f173a7b1de2b919e71335306349ed.zip
Fix for bug 98602: re-implementation of "create attachment" page.
Patch by Myk Melez <myk@mozilla.org>. r=gerv@mozilla.org,jake@acutex.net
Diffstat (limited to 'template/default/attachment/list.atml')
-rwxr-xr-xtemplate/default/attachment/list.atml8
1 files changed, 4 insertions, 4 deletions
diff --git a/template/default/attachment/list.atml b/template/default/attachment/list.atml
index 3086c8dc0..9dd3931d0 100755
--- a/template/default/attachment/list.atml
+++ b/template/default/attachment/list.atml
@@ -12,9 +12,9 @@
<tr>
<td valign="top">
[% IF attachment.isobsolete %]
- <strike><a href="attachment.cgi?id=[% attachment.attachid %]&action=view">[% attachment.description %]</a></strike>
+ <strike><a href="attachment.cgi?id=[% attachment.attachid %]&action=view">[% attachment.description FILTER html %]</a></strike>
[% ELSE %]
- <a href="attachment.cgi?id=[% attachment.attachid %]&action=view">[% attachment.description %]</a>
+ <a href="attachment.cgi?id=[% attachment.attachid %]&action=view">[% attachment.description FILTER html %]</a>
[% END %]
</td>
@@ -22,7 +22,7 @@
[% IF attachment.ispatch %]
<i>patch</i>
[% ELSE %]
- [% attachment.mimetype %]
+ [% attachment.contenttype %]
[% END %]
</td>
@@ -48,7 +48,7 @@
<tr>
<td colspan="4">
- <a href="createattachment.cgi?id=[% bugid %]">Create a new attachment</a> (proposed patch, testcase, etc.)
+ <a href="attachment.cgi?bugid=[% bugid %]&action=enter">Create a New Attachment</a> (proposed patch, testcase, etc.)
</td>
<td colspan="1">
<a href="attachment.cgi?bugid=[% bugid %]&action=viewall">View All</a>