From ef732cf3f02d2c068a39c585d49854ffbc549413 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" Date: Wed, 17 Mar 2004 22:50:20 +0000 Subject: [PATCH] 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. --- webtools/bugzilla/css/edit_bug.css | 4 --- webtools/bugzilla/css/global.css | 25 +++++++++++++++++++ webtools/bugzilla/skins/standard/global.css | 25 +++++++++++++++++++ .../en/default/global/header.html.tmpl | 2 ++ 4 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 webtools/bugzilla/css/global.css create mode 100644 webtools/bugzilla/skins/standard/global.css diff --git a/webtools/bugzilla/css/edit_bug.css b/webtools/bugzilla/css/edit_bug.css index edde8568590..64fa4cd71d0 100644 --- a/webtools/bugzilla/css/edit_bug.css +++ b/webtools/bugzilla/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/webtools/bugzilla/css/global.css b/webtools/bugzilla/css/global.css new file mode 100644 index 00000000000..c8ab3f8f193 --- /dev/null +++ b/webtools/bugzilla/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/webtools/bugzilla/skins/standard/global.css b/webtools/bugzilla/skins/standard/global.css new file mode 100644 index 00000000000..c8ab3f8f193 --- /dev/null +++ b/webtools/bugzilla/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/webtools/bugzilla/template/en/default/global/header.html.tmpl b/webtools/bugzilla/template/en/default/global/header.html.tmpl index c64001bd488..d33be2efb88 100644 --- a/webtools/bugzilla/template/en/default/global/header.html.tmpl +++ b/webtools/bugzilla/template/en/default/global/header.html.tmpl @@ -73,6 +73,8 @@ [%+ INCLUDE "global/help-header.html.tmpl" %] + + [% IF style %]