From c02dd393fe0f1de13b536d76390b3b0ea888005d Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 13 Sep 2020 15:06:46 +0000 Subject: [PATCH] Bug 15437: (follow-up) Move $i subfield display to the beginning and add OPAC This patch builds on Caitlin's to finish the work but keeping as much from her code as possible. - Finishes reindenting started in first patch - Readds a space after the label - Moves $i to the beginning of the field as suggested by MARC21 documentation: http://www.loc.gov/marc/bibliographic/bd76x78x.html The data in subfield $i can be displayed preceding the other data contained in the field. - Adds a span with a class around the $i so people can control the formatting To test: - Catalog a record with 780/785 with and without $i. - Verify that they display nicely in staff and OPAC, $i should show. Also $a and $t will show (unchanged by this patch) Signed-off-by: Katrin Fischer --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 229 ++++++++++---------- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 234 +++++++++++---------- 2 files changed, 244 insertions(+), 219 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 115901f278..15ec22fd7c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -1242,125 +1242,134 @@ - - - - - - Continues: - - - Continues in part: - - - Supersedes: - - - Supersedes in part: - - - Formed by the union: ... and: ... - - - Absorbed: - - - Absorbed in part: - - - Separated from: - - - - - a_t - - - - - /cgi-bin/koha/catalogue/search.pl?q=Control-number: - - - - - /cgi-bin/koha/catalogue/search.pl?q=ti,phr: - - - - - - - - - + + + + + + Continues: + + + Continues in part: + + + Supersedes: + + + Supersedes in part: + + + Formed by the union: ... and: ... + + + Absorbed: + + + Absorbed in part: + + + Separated from: + + + - - - + + + + + + - - + + + a_t + + + + + /cgi-bin/koha/catalogue/search.pl?q=Control-number: + + + + + /cgi-bin/koha/catalogue/search.pl?q=ti,phr: + + + + + + + + + + + + - - - - - Continued by: - - - Continued in part by: - - - Superseded by: - - - Superseded in part by: - - - Absorbed by: - - - Absorbed in part by: - - - Split into .. and ...: - - - Merged with ... to form ... - - - Changed back to: - - - - - - a_t - - + + + + + Continued by: + + + Continued in part by: + + + Superseded by: + + + Superseded in part by: + + + Absorbed by: + + + Absorbed in part by: + + + Split into .. and ...: + + + Merged with ... to form ... + + + Changed back to: + + + - - - /cgi-bin/koha/catalogue/search.pl?q=Control-number: - - - - - /cgi-bin/koha/catalogue/search.pl?q=ti,phr: - - - - + + + + + + - - - - + + + a_t + + - + + + /cgi-bin/koha/catalogue/search.pl?q=Control-number: + + + + + /cgi-bin/koha/catalogue/search.pl?q=ti,phr: + + + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index f507ea428e..d4096d666c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1353,125 +1353,141 @@ - - - - - - Continues: - - - Continues in part: - - - Supersedes: - - - Supersedes in part: - - - Formed by the union: ... and: ... - - - Absorbed: - - - Absorbed in part: - - - Separated from: - - - - - - a_t - - - - - /cgi-bin/koha/opac-search.pl?q=Control-number: - - - - - /cgi-bin/koha/opac-search.pl?q=ti,phr: - - - - - + + + + + + Continues: + + + Continues in part: + + + Supersedes: + + + Supersedes in part: + + + Formed by the union: ... and: ... + + + Absorbed: + + + Absorbed in part: + + + Separated from: + + + - - - + + + + + + - - + + + a_t + + + + + + /cgi-bin/koha/opac-search.pl?q=Control-number: + + + + + /cgi-bin/koha/opac-search.pl?q=ti,phr: + + + + + + + + + + + + - - - - - - Continued by: - - - Continued in part by: - - - Superseded by: - - - Superseded in part by: - - - Absorbed by: - - - Absorbed in part by: - - - Split into .. and ...: - - - Merged with ... to form ... - - - Changed back to: - - - - - - a_t - - + + + + + + Continued by: + + + Continued in part by: + + + Superseded by: + + + Superseded in part by: + + + Absorbed by: + + + Absorbed in part by: + + + Split into .. and ...: + + + Merged with ... to form ... + + + Changed back to: + + + - - - /cgi-bin/koha/opac-search.pl?q=Control-number: - - - - - /cgi-bin/koha/opac-search.pl?q=ti,phr: - - - - + + + + + + - + + + a_t + + - - - + + + /cgi-bin/koha/opac-search.pl?q=Control-number: + + + + + /cgi-bin/koha/opac-search.pl?q=ti,phr: + + + + + - - + + + + + + -- 2.11.0