From: Jane Wagner Date: Tue, 14 Dec 2010 16:39:12 +0000 (-0500) Subject: Bug 3789 Set off shelving location in staff and OPAC title display X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=d19300432fe0f7a940e7b685a343b7e505bbd0d4;p=koha.git 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 (cherry picked from commit f05bd5984c94fbbf1603317fd9fdd8909959dbb5) Signed-off-by: Chris Nighswonger --- 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 f47c8c2766..2c456cd11b 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)