From f05bd5984c94fbbf1603317fd9fdd8909959dbb5 Mon Sep 17 00:00:00 2001 From: Jane Wagner Date: Tue, 14 Dec 2010 11:39:12 -0500 Subject: [PATCH] Bug 3789 Set off shelving location in staff and OPAC title display 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. [Edit] Re-implemented some changes which wouldn't merge after so long Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 6 ++++++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl | 2 +- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 6 ++++++ koha-tmpl/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 3f43f61a70..e63fa3ae92 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -1221,6 +1221,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 273150acda..db6fe31706 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -241,7 +241,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 3df41fb98e..bfff594be2 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -378,6 +378,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 084c4844b2..e83ea3ac7f 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -396,7 +396,7 @@ YAHOO.util.Event.onContentReady("furtherm", function () { " title="" alt="" /> - "> + "> (&shelfbrowse_itemnumber=#shelfbrowser">Browse Shelf) -- 2.11.4.GIT