Bug 8204: Add user friendly authority view to OPAC
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 31 May 2012 11:24:29 +0000 (07:24 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 26 Jul 2012 23:57:48 +0000 (11:57 +1200)
commit3982e9f35b88be13ffb0c836c0fe20d2b08dd2f5
tree987db25530c168ad4bb55fd859ec79fb853ac49a
parent7de33d3773d9b85739f437d1f822b0775d388c6b
Bug 8204: Add user friendly authority view to OPAC

Up until now, the only authority view in the OPAC was a
rather-unfriendly expanded MARC view. This patch adds a user-friendly
view similar to the biblio details view.

Specific features to be aware of:
* Right-to-left text in the MARC21 880 field will show up in the
  appropriate location with the appropriate alignment and wrapping
* There is very little CSS styling. Any suggestions for how to make
  the display more attractive would be gratefully received.

To test:
1) Do a search for an authority in the OPAC.
2) Choose an authority record to view.
3) Observe that the view is more user-friendly and polished.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works very nicely now. The old view is still available, but the
user is presented with a nicer non-MARC view first.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/AuthoritiesMarc.pm
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/includes/authorities-search-results.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-MARCdetail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-detail.tt [new file with mode: 0644]
opac/opac-authoritiesdetail.pl