Bug 23694: Author "By" should have its own class
authorLucas Gass <lucas@bywatersolutions.com>
Mon, 30 Sep 2019 15:29:05 +0000 (15:29 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 8 Oct 2019 13:55:00 +0000 (14:55 +0100)
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl

index 6cc223e..eb372ef 100644 (file)
                 <xsl:choose>
                     <xsl:when test="position()&gt;1"/>
                     <!-- #13383 -->
-                    <xsl:when test="@tag&lt;700">By: </xsl:when>
+                    <xsl:when test="@tag&lt;700"><span class="byAuthor">By: </span></xsl:when>
                     <!--#13382 Changed Additional author to contributor -->
                     <xsl:otherwise>Contributor(s): </xsl:otherwise>
                 </xsl:choose>
index fb2b899..7c3e3eb 100644 (file)
     <xsl:choose>
     <xsl:when test="marc:datafield[@tag=100] or marc:datafield[@tag=110] or marc:datafield[@tag=111] or marc:datafield[@tag=700] or marc:datafield[@tag=710] or marc:datafield[@tag=711]">
 
-    by <span class="author">
+        <span class="byAuthor">by </span><span class="author">
         <!-- #13383 -->
         <xsl:for-each select="marc:datafield[(@tag=100 or @tag=700 or @tag=110 or @tag=710 or @tag=111 or @tag=711) and @ind1!='z']">
             <xsl:call-template name="chopPunctuation">