Bug 6617: Improve MARC21 enhanced contents display
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sun, 29 Jul 2012 02:58:31 +0000 (22:58 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 5 Sep 2012 13:56:35 +0000 (15:56 +0200)
commit0f13ce8380d49ed41798e8523308084a97cac826
tree99bcb87c8bd19b087a9c5510b82821f16bf47743
parent2d3bb6e1d4fb6f3d270cf2c5aa467bedaa9d3e34
Bug 6617: Improve MARC21 enhanced contents display

The display of "Enhanced" 505 (contents) fields in the MARC21
XSLT is very poor, resulting in large, unreadable blocks of text,
and -- for some series -- so much unnecessary duplication in the
Notes tab that important information is entirely obscured. This
patch reformats "enhanced" contents fields (MARC21 505 fields with
$t and $r) so as to be more readable by breaking up entries on
separate lines and making titles bold (to make them stand out more).

This patch does not address duplication of information in the Notes
tab, per discussion on the #koha IRC channel.

To test:
1) View record with enhanced 505 field before applying patch. Observe
   it is very unfriendly.
2) Apply patch.
3) View same record, note that display is much improved.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
This first patch works as advertised. It formats the table of
contents on the opac detail display in a cleaner format.

I recommend that future follow ups fix the staff client to match
and update the title notes tabs on the opac and staff client
to also match the cleaner format for table of contents.
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl