]> git.koha-community.org Git - koha.git/commit
Bug 13406: Add styling classes to authority MARC detail display
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 16 Sep 2018 18:59:40 +0000 (11:59 -0700)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 19 Sep 2018 13:45:38 +0000 (13:45 +0000)
commit05e51e9574884f03034633dfef95e7e95ac0224e
tree52918ff29f9e80c155fd3c61fe03f569087ff525
parent89d140c6a188a8672b2498481da6cb83802a9699
Bug 13406: Add styling classes to authority MARC detail display

When viewing authority MARC records in the staff client (detail view), the
MARC tags were not displaying with the tag_num, tag_desc, tag_ind1,
tag_ind2, and desc classes, which made it impossible to add styles
to these specific parts of a MARC tag.  This commit adds these
styles (which are the same as the classes in the bibliographic
MARC detail display).

To test:
1) Open the staff client, then click Authorities.
2) Search for an authority record.
3) Click on Details.
4) Examine some MARC fields.  Note that the entire tag title line
is in a single <div>.
5) Apply this commit.
6) Repeat steps 1-3.
7) Notice that the tag title line is now separated into several
spans, each with their own classes.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
authorities/detail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt