Lines 1476-1500
Link Here
|
1476 |
<xsl:text> (</xsl:text> |
1476 |
<xsl:text> (</xsl:text> |
1477 |
<xsl:value-of select="count($items)"/> |
1477 |
<xsl:value-of select="count($items)"/> |
1478 |
<xsl:text>)</xsl:text> |
1478 |
<xsl:text>)</xsl:text> |
1479 |
<xsl:if test="$max>0 and $OPACItemLocation!='library'"> |
1479 |
<xsl:if test="$max>0 and count($items[items:itemcallnumber!=''])>0 and $OPACItemLocation!='library'"> |
1480 |
<span class="CallNumberAndLabel"> |
1480 |
<span class="CallNumberAndLabel"> |
1481 |
<span class="LabelCallNumber"> |
1481 |
<span class="LabelCallNumber"> |
1482 |
<xsl:if test="$OPACItemLocation='callnum'">Call number: </xsl:if> |
1482 |
<xsl:if test="$OPACItemLocation='callnum'">Call number: </xsl:if> |
1483 |
<xsl:if test="$OPACItemLocation='ccode'">Collection code, call number: </xsl:if> |
1483 |
<xsl:if test="$OPACItemLocation='ccode'">Collection code, call number: </xsl:if> |
1484 |
<xsl:if test="$OPACItemLocation='location'">Location, call number: </xsl:if> |
1484 |
<xsl:if test="$OPACItemLocation='location'">Location, call number: </xsl:if> |
1485 |
</span> |
1485 |
</span> |
|
|
1486 |
<xsl:for-each select="$items[items:itemcallnumber!=''][position() <= $max]"> |
1486 |
<span class="CallNumber"> |
1487 |
<span class="CallNumber"> |
1487 |
<xsl:for-each select="$items[position() <= $max]"> |
|
|
1488 |
<xsl:if test="$OPACItemLocation='location'"> |
1488 |
<xsl:if test="$OPACItemLocation='location'"> |
1489 |
<strong><xsl:value-of select="concat(items:location,' ')"/></strong> |
1489 |
<strong><xsl:value-of select="concat(items:location,' ')"/></strong> |
1490 |
</xsl:if> |
1490 |
</xsl:if> |
1491 |
<xsl:if test="$OPACItemLocation='ccode'"> |
1491 |
<xsl:if test="$OPACItemLocation='ccode'"> |
1492 |
<strong><xsl:value-of select="concat(items:ccode,' ')"/></strong> |
1492 |
<strong><xsl:value-of select="concat(items:ccode,' ')"/></strong> |
1493 |
</xsl:if> |
1493 |
</xsl:if> |
1494 |
<xsl:value-of select="items:itemcallnumber"/><xsl:if test="position()!=last()"><xsl:text>, </xsl:text></xsl:if> |
1494 |
<xsl:value-of select="items:itemcallnumber"/> |
1495 |
</xsl:for-each> |
1495 |
<xsl:if test="position()!=last()"> |
1496 |
<xsl:if test="count($items)>$max"><xsl:text>, ..</xsl:text></xsl:if> |
1496 |
<xsl:text>, </xsl:text> |
|
|
1497 |
</xsl:if> |
1498 |
<xsl:if test="position()=last() and (count($items)>$max or count($items[items:itemcallnumber=''])>0)"> |
1499 |
<xsl:text>, ..</xsl:text> |
1500 |
</xsl:if> |
1497 |
</span> |
1501 |
</span> |
|
|
1502 |
</xsl:for-each> |
1498 |
</span> |
1503 |
</span> |
1499 |
</xsl:if> |
1504 |
</xsl:if> |
1500 |
<xsl:text>. </xsl:text> |
1505 |
<xsl:text>. </xsl:text> |
1501 |
- |
|
|