summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/list.html.tmpl10
-rw-r--r--template/en/default/attachment/show-multiple.html.tmpl10
2 files changed, 18 insertions, 2 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">
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 %]