From db2fa518b8626e6db460426504ed2a5a21b98aeb Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 4 Aug 2006 08:35:33 +0000 Subject: [PATCH] cosmetic git-svn-id: svn://svn.open-ils.org/ILS/trunk@5287 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/bib_brief.xul | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/bib_brief.xul b/Open-ILS/xul/staff_client/server/cat/bib_brief.xul index 58d7b0ae9e..ea481c95a3 100644 --- a/Open-ILS/xul/staff_client/server/cat/bib_brief.xul +++ b/Open-ILS/xul/staff_client/server/cat/bib_brief.xul @@ -105,8 +105,13 @@ ) ); var t = document.getElementById('caption').getAttribute('label'); - if (get_bool( meta.deleted() )) { t += ' (Deleted) '; } else { - if ( ! get_bool( meta.active() ) ) { t += ' (Inactive) '; } + if (get_bool( meta.deleted() )) { + t += ' (Deleted) '; + document.getElementById('caption').setAttribute('style','background: red; color: white;'); + } + if ( ! get_bool( meta.active() ) ) { + t += ' (Inactive) '; + document.getElementById('caption').setAttribute('style','background: red; color: white;'); } document.getElementById('caption').setAttribute('label',t); } catch(E) { -- 2.11.0