summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/show-multiple.html.tmpl
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2014-12-11 19:00:18 +0100
committerGervase Markham <gerv@gerv.net>2014-12-11 19:00:18 +0100
commit4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c (patch)
tree28bc9ec2a5f74208167baed68cbaebe26b451c8c /template/en/default/attachment/show-multiple.html.tmpl
parent7b8a5d16b6c84b0f2b8b8074e9f63888ca6df249 (diff)
downloadbugzilla-4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c.tar.gz
bugzilla-4d1c399ff6391b70e15a2c06d5bec10e2aaa3d3c.tar.xz
Bug 1102842 - remove and/or unwhitelist unsafe filters. r=gerv, a=simon.
Diffstat (limited to 'template/en/default/attachment/show-multiple.html.tmpl')
-rw-r--r--template/en/default/attachment/show-multiple.html.tmpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl
index e2c95cb80..16d093372 100644
--- a/template/en/default/attachment/show-multiple.html.tmpl
+++ b/template/en/default/attachment/show-multiple.html.tmpl
@@ -34,7 +34,15 @@
<th colspan="6" class="bz_attach_footer">Attachment #[% a.id %]</th>
</tr>
<tr>
- <td>[% a.description FILTER html FILTER obsolete(a.isobsolete) %]</td>
+ <td>
+ [% IF a.isobsolete %]
+ <span class="bz_obsolete">
+ [% END %]
+ [% a.description FILTER html %]
+ [% IF a.isobsolete %]
+ </span>
+ [% END %]
+ </td>
<td>
[% IF a.ispatch %]