summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/dependency-tree.html.tmpl
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/dependency-tree.html.tmpl
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/dependency-tree.html.tmpl')
-rw-r--r--template/en/default/bug/dependency-tree.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl
index b0da74a17..a5bdcce27 100644
--- a/template/en/default/bug/dependency-tree.html.tmpl
+++ b/template/en/default/bug/dependency-tree.html.tmpl
@@ -26,7 +26,6 @@
[% PROCESS global/header.html.tmpl
title = "Dependency tree for $terms.Bug $bugid"
h1 = "Dependency tree for <a href=\"show_bug.cgi?id=$bugid\">$terms.Bug $bugid</a>"
- style = "strike { background-color: #d9d9d9; color: #000000; }"
%]
[% PROCESS depthControlToolbar %]
@@ -92,7 +91,8 @@
<li>
[% "<script>document.write('<a href=\"#\" class=\"toggle\" onclick=\"listToggle(event); return false\">[-]</a>')</script>"
IF dep.dependencies.size > 0 && !dep.seen %]
- [% "<strike>" IF !dep.open %]
+ [% isclosed = !dep.open %]
+ [% FILTER closed(isclosed) %]
<a href="show_bug.cgi?id=[% dep_id %]">[% dep_id %]
[[% IF dep.milestone %][% dep.milestone FILTER html %], [% END %]
[% dep.assignee_email FILTER html %]] -
@@ -101,7 +101,7 @@
[% ELSE %]
[% dep.summary FILTER html %].</a>
[% END %]
- [% "</strike>" IF !dep.open %]
+ [% END %]
[% INCLUDE display_tree bug_id=dep_id
IF dep.dependencies.size > 0 && !dep.seen %]
</li>