summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/list.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/list.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/list.html.tmpl')
-rw-r--r--template/en/default/attachment/list.html.tmpl10
1 files changed, 9 insertions, 1 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 4599f38ed..2e160eda7 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -70,7 +70,15 @@ function toggle_display(link) {
<a href="attachment.cgi?id=[% attachment.id %]"
title="View the content of the attachment">
[% END %]
- <b>[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</b>
+ <b>
+ [% IF attachment.isobsolete %]
+ <span class="bz_obsolete">
+ [% END %]
+ [% attachment.description FILTER html %]
+ [% IF attachment.isobsolete %]
+ </span>
+ [% END %]
+ </b>
[% "</a>" IF attachment.datasize %]
<span class="bz_attach_extra_info">