cosmetic
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Aug 2006 08:35:33 +0000 (08:35 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Aug 2006 08:35:33 +0000 (08:35 +0000)
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

index 58d7b0a..ea481c9 100644 (file)
                                                                                )
                                                                        );
                                                                        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) {