Bug 20986: Add 867 and 868 holdings display
Add line breaks in the 866 Holdings display in the OPAC details and Staff details page. Add 867 and 868 textual holdings with line breaks in the OPAC and Staff details display.
Signed-off-by: Ed Veal <eveal@mckinneytexas.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit c23276324c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
cf681f6682
commit
fb362dfd79
|
|
@ -1065,16 +1065,41 @@
|
|||
|
||||
<!-- 866 textual holdings -->
|
||||
<xsl:if test="marc:datafield[@tag=866]">
|
||||
<span class="results_summary holdings_note"><span class="label">Holdings note: </span>
|
||||
<span class="results_summary holdings_note"><span class="label">Holdings: </span><br />
|
||||
<xsl:for-each select="marc:datafield[@tag=866]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">axz</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- 867 textual holdings -->
|
||||
<xsl:if test="marc:datafield[@tag=867]">
|
||||
<span class="results_summary holdings_note"><span class="label">Supplements: </span><br />
|
||||
<xsl:for-each select="marc:datafield[@tag=867]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">axz</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- 868 textual holdings -->
|
||||
<xsl:if test="marc:datafield[@tag=868]">
|
||||
<span class="results_summary holdings_note"><span class="label">Indexes: </span><br />
|
||||
<xsl:for-each select="marc:datafield[@tag=868]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">axz</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<!-- 775 Other Edition -->
|
||||
<xsl:if test="marc:datafield[@tag=775]">
|
||||
<span class="results_summary other_editions"><span class="label">Other editions: </span>
|
||||
|
|
|
|||
|
|
@ -1201,12 +1201,36 @@
|
|||
|
||||
<!-- 866 textual holdings -->
|
||||
<xsl:if test="marc:datafield[@tag=866]">
|
||||
<span class="results_summary holdings_note"><span class="label">Holdings note: </span>
|
||||
<span class="results_summary holdings_note"><span class="label">Holdings: </span> <br />
|
||||
<xsl:for-each select="marc:datafield[@tag=866]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">az</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- 867 textual holdings -->
|
||||
<xsl:if test="marc:datafield[@tag=867]">
|
||||
<span class="results_summary holdings_note"><span class="label">Supplements: </span> <br />
|
||||
<xsl:for-each select="marc:datafield[@tag=867]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">az</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
||||
<!-- 868 textual holdings -->
|
||||
<xsl:if test="marc:datafield[@tag=868]">
|
||||
<span class="results_summary holdings_note"><span class="label">Indexes: </span> <br />
|
||||
<xsl:for-each select="marc:datafield[@tag=868]">
|
||||
<xsl:call-template name="subfieldSelect">
|
||||
<xsl:with-param name="codes">az</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text><br /></xsl:otherwise></xsl:choose>
|
||||
</xsl:for-each>
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue