From 30f44387a5e064571a05a9ce54acdabd0781ec32 Mon Sep 17 00:00:00 2001 From: Jane Wagner Date: Tue, 17 Nov 2009 07:59:34 -0500 Subject: [PATCH] Bug 3789 Set off shelving location in staff and OPAC title display Content-Type: text/plain; charset="utf-8" Koha puts the shelving location immediately after the library name in the "Location" column of the title display. If the library name and/or shelving location is wordy, the two can run together and a user can overlook the shelving location. I've added a new span class to the staff and OPAC .css files and applied it to shelving location in both templates. This puts the shelving location on a separate line and in italics, to make it stand out from the library name. --- .../intranet-tmpl/prog/en/css/staff-global.css | 6 ++++++ .../prog/en/modules/catalogue/detail.tmpl | 2 +- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 6 ++++++ .../opac-tmpl/prog/en/modules/opac-detail.tmpl | 2 +- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 076e405..d0abb70 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1171,6 +1171,12 @@ a .term { text-decoration : underline; } +/* style for shelving location in catalogsearch */ +.shelvingloc { + display : block; + font-style : italic; +} + a:hover .term { color : #FF9090; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl index 251c6df..843aa6e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -203,7 +203,7 @@ function verify_images() { - + diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 9e30270..0e11085 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -371,6 +371,12 @@ a .term { text-decoration : underline; } +/* style for shelving location in catalogsearch */ +.shelvingloc { + display : block; + font-style : italic; +} + .transfered { background-color : #F9FF9A; } diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index ea5f188..08b9eac 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -344,7 +344,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { " title="" alt="" /> - + (&shelfbrowse_itemnumber=#shelfbrowser">Browse Shelf) -- 1.5.6.5