http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10265 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #18239|0 |1 is obsolete| | --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Comment on attachment 18239 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18239 Bug 10265: Add missing spaces between label and content in XSLT view (780/785)
From 0a9055d0c36ef12d19da91b970f725dba2f6a6b5 Mon Sep 17 00:00:00 2001 From: Katrin Fischer <Katrin.Fischer.83@web.de> Date: Sun, 19 May 2013 12:16:16 +0200 Subject: [PATCH] Bug 10265: Add missing spaces between label and content in XSLT view (780/785)
To test: - Check OPAC and intranet XSLT view for a record that contains 780 and 785 fields. - Verify there is no space between the label and the content of the field. - Apply patch. - Verify the display both in intranet and OPAC is a little nicer now. --- .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 3 ++- .../prog/en/xslt/MARC21slim2OPACDetail.xsl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index aeaa797..98d5742 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -741,6 +741,7 @@ <span class="label">Separated from:</span> </xsl:when> </xsl:choose> + <xsl:text> </xsl:text> <xsl:variable name="f780"> <xsl:call-template name="subfieldSelect"> <xsl:with-param name="codes">at</xsl:with-param> @@ -800,8 +801,8 @@ <xsl:when test="@ind2=8"> <span class="label">Changed back to:</span> </xsl:when> - </xsl:choose> + <xsl:text> </xsl:text> <xsl:variable name="f785"> <xsl:call-template name="subfieldSelect"> <xsl:with-param name="codes">at</xsl:with-param> diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl index 5130e8b..e1e6546 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl @@ -847,6 +847,7 @@ <span class="label">Separated from:</span> </xsl:when> </xsl:choose> + <xsl:text> </xsl:text> <xsl:variable name="f780"> <xsl:call-template name="subfieldSelect"> <xsl:with-param name="codes">a_t</xsl:with-param> @@ -907,8 +908,8 @@ <xsl:when test="@ind2=8"> <span class="label">Changed back to:</span> </xsl:when> - </xsl:choose> + <xsl:text> </xsl:text> <xsl:variable name="f785"> <xsl:call-template name="subfieldSelect"> <xsl:with-param name="codes">a_t</xsl:with-param> -- 1.7.9.5
-- You are receiving this mail because: You are watching all bug changes.