Koha/koha-tmpl/opac-tmpl/prog/en
Jared Camins-Esakov 237a43b361 Bug 8210: add links to authorities to headings in OPAC
At the moment, there is no way to get to an authority record from a bib
record that uses it other than doing a new search on the authority file.
This patch adds a link (a cute little magnifying glass) to linked
authority records on the OPAC detail view for MARC21 and NORMARC
with XSLT enabled. A follow-up patch will add the link to regular mode.
Because UNIMARC handles authorities differently, the link is not added
to the XSLT.

Test plan:
1) Set OPACXSLTDetailsDisplay to 'default'
2) View a record that has some headings that are linked to authority
   records in the OPAC (easiest way to find a record like that is to
   edit a record and add some headings using the thesaurus plugin)
3) Observe the cute little magnifying glass links to the authority.

Revised version of the patch adds a space between the heading and the
magnifying glass.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Patch works nicely.

If a library does not like to see the
magnifying glass/link to the authority, it's easy to disable it
by adding the line .authlink {display:none;} to OpacUserCSS.
2012-09-18 17:39:39 +02:00
..
css Bug 8210: add links to authorities to headings in OPAC 2012-09-18 17:39:39 +02:00
includes Bug 8597: Add system preferences to configure the mobile view. 2012-09-18 13:42:18 +02:00
js 7161 Followup for indentation openlibrary.js 2012-06-29 11:38:02 +02:00
lib Bug 8644 [OPAC] jQueryUI CSS file should not contain customizations 2012-09-13 10:45:31 +02:00
modules Bug 8211: Add exploded search options 2012-09-18 15:20:48 +02:00
xslt Bug 8210: add links to authorities to headings in OPAC 2012-09-18 17:39:39 +02:00