Bug 27613: (follow-up) add authors and contributors

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Lucas Gass 2021-12-12 23:27:54 +00:00 committed by Fridolin Somers
parent b4ec4548ff
commit 5c0071a39f
3 changed files with 13 additions and 12 deletions

View file

@ -83,6 +83,7 @@ a {
}
&.title {
display: block;
font-size: 108%;
font-weight: bold;
}
@ -1154,7 +1155,7 @@ div {
}
.resource_list {
display: inline-block;
display: inline;
margin: 0 auto;
padding-left: 0;

View file

@ -1718,6 +1718,10 @@
<!--#13382 Changed Additional author to contributor -->
<xsl:otherwise>Contributor(s): </xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<ul class="resource_list">
<xsl:for-each select="$authorfield">
<li>
<xsl:choose>
<xsl:when test="not(@tag=111) or @tag=700 or @tag=710 or @tag=711"/>
<xsl:when test="marc:subfield[@code='n']">
@ -1971,10 +1975,9 @@
</xsl:element>
</a>
</xsl:if>
<xsl:choose>
<xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
</xsl:choose>
</li>
</xsl:for-each>
</ul>
</span>
</xsl:if>
</xsl:template>

View file

@ -503,7 +503,6 @@
</xsl:if>
<!-- End of OpenURL -->
<p>
<!-- Author Statement: Alternate Graphic Representation (MARC 880) -->
<xsl:if test="$display880">
<xsl:call-template name="m880Select">
@ -515,9 +514,11 @@
<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]">
<span class="byAuthor">by </span><span class="author">
<span class="byAuthor">by </span>
<ul class="author resource_list">
<!-- #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']">
<li>
<xsl:call-template name="chopPunctuation">
<xsl:with-param name="chopString">
<xsl:call-template name="subfieldSelect">
@ -633,15 +634,11 @@
<xsl:text>]</xsl:text>
</span>
</xsl:if>
<xsl:choose>
<xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
</xsl:choose>
</li>
</xsl:for-each>
</span>
</ul>
</xsl:when>
</xsl:choose>
</p>
<xsl:call-template name="show-series">
<xsl:with-param name="searchurl">/cgi-bin/koha/opac-search.pl</xsl:with-param>