Lines 1071-1081
Link Here
|
1071 |
</xsl:for-each> |
1071 |
</xsl:for-each> |
1072 |
</xsl:otherwise> |
1072 |
</xsl:otherwise> |
1073 |
</xsl:choose> |
1073 |
</xsl:choose> |
1074 |
</span> |
|
|
1075 |
|
1074 |
|
|
|
1075 |
</span> |
1076 |
</xsl:when> |
1076 |
</xsl:when> |
1077 |
</xsl:choose> |
1077 |
</xsl:choose> |
1078 |
|
1078 |
|
|
|
1079 |
<xsl:choose> |
1080 |
<xsl:when test="count(key('item-by-status', 'reference'))>0"> |
1081 |
<span class="available"> |
1082 |
<b><xsl:text>Copies available for reference: </xsl:text></b> |
1083 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1084 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1085 |
<xsl:value-of select="items:homebranch"/> |
1086 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1087 |
<xsl:text> (</xsl:text> |
1088 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
1089 |
<xsl:text> )</xsl:text> |
1090 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1091 |
</xsl:for-each> |
1092 |
</span> |
1093 |
</xsl:when> |
1094 |
</xsl:choose> |
1095 |
|
1079 |
<xsl:choose> <xsl:when test="count(key('item-by-status', 'available'))>0"> |
1096 |
<xsl:choose> <xsl:when test="count(key('item-by-status', 'available'))>0"> |
1080 |
<xsl:choose><xsl:when test="count(key('item-by-status', 'reference'))>0"> |
1097 |
<xsl:choose><xsl:when test="count(key('item-by-status', 'reference'))>0"> |
1081 |
<br/> |
1098 |
<br/> |
1082 |
- |
|
|