aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-03-17 07:52:47 +0000
committerkiko%async.com.br <>2004-03-17 07:52:47 +0000
commit380b6e527cfb9cc98e6e40849915e2627fa2d0ae (patch)
treee104366c8bfcbfe674c37de32cce1fd2dc00f4c9 /t
parentFix the version-detection code with Fredrik Lundh's test suggested at (diff)
downloadbugzilla-380b6e527cfb9cc98e6e40849915e2627fa2d0ae.tar.gz
bugzilla-380b6e527cfb9cc98e6e40849915e2627fa2d0ae.tar.bz2
bugzilla-380b6e527cfb9cc98e6e40849915e2627fa2d0ae.zip
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 't')
-rw-r--r--t/004template.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/004template.t b/t/004template.t
index 6c753c0bd..660ee5c65 100644
--- a/t/004template.t
+++ b/t/004template.t
@@ -94,7 +94,9 @@ foreach my $include_path (@include_paths) {
{
html_linebreak => sub { return $_; },
js => sub { return $_ } ,
- strike => sub { return $_ } ,
+ inactive => sub { return $_; } ,
+ closed => sub { return $_; },
+ obsolete => sub { return $_; },
url_quote => sub { return $_ } ,
css_class_quote => sub { return $_ } ,
xml => sub { return $_ } ,