From 9a3d28e20370648d9ca376ddb45f44ceac61060c Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Wed, 23 May 2012 11:00:17 +0200 Subject: [PATCH] Bug 5888: opac-detail subject/author links improvements When the user clicks on a subject or an author, the list of subjects (authors) is displayed and the user can choose more than 1 subject (author) to search on. Also added a link to opac-authoritiesdetail.pl when possible. Only affects 'Normal view'. Does not affect XSLT display. Signed-off-by: Jared Camins-Esakov Split out of the original patch for bug 5888. The links to the authority records are added by bug 8210. Signed-off-by: Chris Cormack Signed-off-by: Kyle M Hall Signed-off-by: Marcel de Rooy Signed-off-by: Jared Camins-Esakov --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 30 ++++ .../opac-tmpl/prog/en/modules/opac-detail.tt | 165 ++++++++++++++++++ 2 files changed, 195 insertions(+) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index cdf7a4d4b4..cc6666e70a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -2156,6 +2156,36 @@ a.p1:active { div.ft { clear : both; } + +.authorSearch { + position: absolute; + display: none; + z-index: 2; + background-color: white; + border: 1px solid black; + padding: 4px; +} +.authorSearch li { + list-style-type: none; +} +.authorSearch ul { + padding-left: 0px; +} +.subjectSearch { + position: absolute; + display: none; + z-index: 2; + background-color: white; + border: 1px solid black; + padding: 4px; +} +.subjectSearch li { + list-style-type: none; +} +.subjectSearch ul { + padding-left: 0px; +} + #basket td ul li { font-size:90%; list-style:disc outside url(data:image/gif;base64,R0lGODlhBQAHAJECAP///5zD6v///wAAACH5BAEAAAIALAAAAAAFAAcAAAIMjCUGkbvhFGQSmVAAADs=); diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 07d4f68193..67dce176a4 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -369,6 +369,102 @@ YAHOO.util.Event.onContentReady("furtherm", function () { }); //]]> + + +