From a5110b752e0b36a9086af7cef9b0c4a58950a17b Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Wed, 19 Feb 2020 13:47:11 +0000 Subject: [PATCH] Bug 13327: (follow-up) Correct CSS and XSL errors This patch adds back the CSS changes which seem to have been lost in a rebase somewhere. The patch also corrects a bad copy/paste in the XSL file which led to a 404 error. --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 3 +-- koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 7d31d80cfb6..e2e3d75def6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2638,8 +2638,7 @@ button { float: right; } -#subjectsList, -#authorSearch { +#termsList { label { display: inline; vertical-align: middle; diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 0cfd5b23176..50f815641d1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -860,11 +860,8 @@ <xsl:text> </xsl:text> <a class='authlink'> <xsl:attribute name="href">/cgi-bin/koha/opac-authoritiesdetail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute> - <xsl:element name="img"> - <xsl:attribute name="src">/opac-tmpl/<xsl:value-of select="$theme"/>/images/z.png</xsl:attribute> - <xsl:attribute name="alt"></xsl:attribute> - <xsl:attribute name="height">15</xsl:attribute> - <xsl:attribute name="width">15</xsl:attribute> + <xsl:element name="i"> + <xsl:attribute name="class">fa fa-search</xsl:attribute> </xsl:element> </a> </xsl:if> -- 2.11.0