From 962c6c28c25c354d7b3757f1b3cb3665cbde14b0 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Thu, 18 Mar 2004 06:50:20 +0000 Subject: 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. --- css/edit_bug.css | 4 ---- css/global.css | 25 +++++++++++++++++++++++++ skins/standard/global.css | 25 +++++++++++++++++++++++++ template/en/default/global/header.html.tmpl | 2 ++ 4 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 css/global.css create mode 100644 skins/standard/global.css diff --git a/css/edit_bug.css b/css/edit_bug.css index edde85685..64fa4cd71 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 000000000..c8ab3f8f1 --- /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 000000000..c8ab3f8f1 --- /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 c64001bd4..d33be2efb 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 %]