Lines 1053-1073
Link Here
|
1053 |
<xsl:choose> |
1053 |
<xsl:choose> |
1054 |
<xsl:when test="$singleBranchMode=1"> |
1054 |
<xsl:when test="$singleBranchMode=1"> |
1055 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1055 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1056 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1056 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:text>Call Number: </xsl:text><xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1057 |
<xsl:text> (</xsl:text> |
1057 |
<xsl:text> (</xsl:text> |
1058 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
1058 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
1059 |
<xsl:text>)</xsl:text> |
1059 |
<xsl:text>)</xsl:text> |
1060 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1060 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><br /></xsl:otherwise></xsl:choose> |
1061 |
</xsl:for-each> |
1061 |
</xsl:for-each> |
1062 |
</xsl:when> |
1062 |
</xsl:when> |
1063 |
<xsl:otherwise> |
1063 |
<xsl:otherwise> |
1064 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1064 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1065 |
<xsl:value-of select="items:homebranch"/> |
1065 |
<xsl:value-of select="items:homebranch"/> |
1066 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1066 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<xsl:text>Call Number: </xsl:text><xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1067 |
<xsl:text> (</xsl:text> |
1067 |
<xsl:text> (</xsl:text> |
1068 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
1068 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
1069 |
<xsl:text>)</xsl:text> |
1069 |
<xsl:text>)</xsl:text> |
1070 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1070 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><br /></xsl:otherwise></xsl:choose> |
1071 |
</xsl:for-each> |
1071 |
</xsl:for-each> |
1072 |
</xsl:otherwise> |
1072 |
</xsl:otherwise> |
1073 |
</xsl:choose> |
1073 |
</xsl:choose> |
1074 |
- |
|
|