From: kiko%async.com.br <> Date: Thu, 18 Mar 2004 06:50:20 +0000 (+0000) Subject: Fix for bug 237757: Resolved bugs are no longer struck out on dependency X-Git-Tag: bugzilla-2.18rc1~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=962c6c28c25c354d7b3757f1b3cb3665cbde14b0;p=thirdparty%2Fbugzilla.git Fix for bug 237757: Resolved bugs are no longer struck out on dependency trees. This was bustage from bug bug 232397 which added CSS classes but didn't add them consistently to all templates. Includes a global CSS file that defines the relevant bz_* classes and adds a link to it from the global header template. r,a=myk. --- diff --git a/css/edit_bug.css b/css/edit_bug.css index edde856859..64fa4cd71d 100644 --- a/css/edit_bug.css +++ b/css/edit_bug.css @@ -2,8 +2,4 @@ .bz_private { color: darkred ; background : #f3eeee ; } .bz_disabled { color: #a0a0a0 ; } -.bz_obsolete { text-decoration: line-through; } -.bz_inactive { text-decoration: line-through; } -.bz_closed { text-decoration: line-through; } - table#flags th, table#flags td { vertical-align: baseline; text-align: left; } diff --git a/css/global.css b/css/global.css new file mode 100644 index 0000000000..c8ab3f8f19 --- /dev/null +++ b/css/global.css @@ -0,0 +1,25 @@ +/* The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is the Bugzilla Bug Tracking System. + * + * The Initial Developer of the Original Code is Netscape Communications + * Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): Byron Jones + * Christian Reis + */ + +.bz_obsolete { text-decoration: line-through; } +.bz_inactive { text-decoration: line-through; } +.bz_closed { text-decoration: line-through; } + diff --git a/skins/standard/global.css b/skins/standard/global.css new file mode 100644 index 0000000000..c8ab3f8f19 --- /dev/null +++ b/skins/standard/global.css @@ -0,0 +1,25 @@ +/* The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is the Bugzilla Bug Tracking System. + * + * The Initial Developer of the Original Code is Netscape Communications + * Corporation. Portions created by Netscape are + * Copyright (C) 1998 Netscape Communications Corporation. All + * Rights Reserved. + * + * Contributor(s): Byron Jones + * Christian Reis + */ + +.bz_obsolete { text-decoration: line-through; } +.bz_inactive { text-decoration: line-through; } +.bz_closed { text-decoration: line-through; } + diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index c64001bd48..d33be2efb8 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -73,6 +73,8 @@ [%+ INCLUDE "global/help-header.html.tmpl" %] + + [% IF style %]