]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 20 Sep 2018 10:56:39 +0000 (11:56 +0100)
commit4881ecece5d8fcdac867d7b6936923d451a3d48a
treebea07b9ac774742ebf4586fbb7bd86f6bb3bf544
parent145eef6a9037b93cd8902f0a77582fcadbf517bc
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>
(cherry picked from commit 05e51e9574884f03034633dfef95e7e95ac0224e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
authorities/detail.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt