diff options
author | kiko%async.com.br <> | 2004-03-17 08:52:47 +0100 |
---|---|---|
committer | kiko%async.com.br <> | 2004-03-17 08:52:47 +0100 |
commit | 380b6e527cfb9cc98e6e40849915e2627fa2d0ae (patch) | |
tree | e104366c8bfcbfe674c37de32cce1fd2dc00f4c9 /template/en/default/attachment | |
parent | 1bcd4b67a3ea4468ce3127ca1e9cce4a59690824 (diff) | |
download | bugzilla-380b6e527cfb9cc98e6e40849915e2627fa2d0ae.tar.gz bugzilla-380b6e527cfb9cc98e6e40849915e2627fa2d0ae.tar.xz |
Fix for bug 232397: .bz_obsolete shouldn't specify "underline". Define
specific bz_obsolete/closed/inactive classes (that don't specify
underline, but line-through instead) and additional Template filters for
conveniently applying them. Change occurences of <strike> to use new
classes and clean up callsites. Patch by byron jones
<bugzilla@glob.com.au>. r=myk, gerv. a=myk.
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r-- | template/en/default/attachment/list.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/attachment/show-multiple.html.tmpl | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl index 1ef6cab12..8558a5959 100644 --- a/template/en/default/attachment/list.html.tmpl +++ b/template/en/default/attachment/list.html.tmpl @@ -36,7 +36,7 @@ [% IF !attachment.isprivate || canseeprivate %] <tr [% "class=\"bz_private\"" IF attachment.isprivate %]> <td valign="top"> - <a href="attachment.cgi?id=[% attachment.attachid %]&action=view" [% "class=\"bz_obsolete\"" IF attachment.isobsolete %]>[% attachment.description FILTER html %]</a> + <a href="attachment.cgi?id=[% attachment.attachid %]&action=view">[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</a> </td> <td valign="top"> diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl index 48f03dff1..bcfae488d 100644 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -46,11 +46,7 @@ </tr> <tr> <td valign="top"> - [% IF a.isobsolete %] - <strike>[% a.description FILTER html %]</strike> - [% ELSE %] - [% a.description FILTER html %] - [% END %] + [% a.description FILTER html FILTER obsolete(a.isobsolete) %] </td> <td valign="top"> |