summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/votes
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-03-17 08:52:47 +0100
committerkiko%async.com.br <>2004-03-17 08:52:47 +0100
commit380b6e527cfb9cc98e6e40849915e2627fa2d0ae (patch)
treee104366c8bfcbfe674c37de32cce1fd2dc00f4c9 /template/en/default/bug/votes
parent1bcd4b67a3ea4468ce3127ca1e9cce4a59690824 (diff)
downloadbugzilla-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/bug/votes')
-rw-r--r--template/en/default/bug/votes/list-for-user.html.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/bug/votes/list-for-user.html.tmpl b/template/en/default/bug/votes/list-for-user.html.tmpl
index d7214349c..27551f19d 100644
--- a/template/en/default/bug/votes/list-for-user.html.tmpl
+++ b/template/en/default/bug/votes/list-for-user.html.tmpl
@@ -89,10 +89,9 @@
[% END %]
</td>
<td align="right">
- [% "<strike>" IF NOT bug.opened %]
+ [% isclosed = !bug.opened %]
<a href="show_bug.cgi?id=[% bug.id %]">
- [% bug.id %]</a>
- [% "</strike>" IF NOT bug.opened %]
+ [% bug.id FILTER closed(isclosed) %]</a>
</td>
<td>
<a href="votes.cgi?action=show_bug&amp;bug_id=[% bug.id %]">