|
Lines 1115-1121
Link Here
|
| 1115 |
<xsl:choose> |
1115 |
<xsl:choose> |
| 1116 |
<xsl:when test="$singleBranchMode=1"> |
1116 |
<xsl:when test="$singleBranchMode=1"> |
| 1117 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1117 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
| 1118 |
<span class="CommasWithLinebreaks"> |
1118 |
<span class="ItemSummary"> |
| 1119 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<span class="LabelCallNumber">Call number: </span><xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1119 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber"> [<span class="LabelCallNumber">Call number: </span><xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
| 1120 |
<xsl:text> (</xsl:text> |
1120 |
<xsl:text> (</xsl:text> |
| 1121 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
1121 |
<xsl:value-of select="count(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch)))"/> |
|
Lines 1129-1135
Link Here
|
| 1129 |
</xsl:when> |
1129 |
</xsl:when> |
| 1130 |
<xsl:otherwise> |
1130 |
<xsl:otherwise> |
| 1131 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1131 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
| 1132 |
<span class="CommasWithLinebreaks"> |
1132 |
<span class="ItemSummary"> |
| 1133 |
<xsl:value-of select="items:homebranch"/> |
1133 |
<xsl:value-of select="items:homebranch"/> |
| 1134 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<span class="LabelCallNumber">Call number: </span><xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
1134 |
<xsl:if test="items:itemcallnumber != '' and items:itemcallnumber and $OPACItemLocation='callnum'"> [<span class="LabelCallNumber">Call number: </span><xsl:value-of select="items:itemcallnumber"/>]</xsl:if> |
| 1135 |
<xsl:text> (</xsl:text> |
1135 |
<xsl:text> (</xsl:text> |
|
Lines 1154-1160
Link Here
|
| 1154 |
<b><xsl:text>Items available for reference: </xsl:text></b> |
1154 |
<b><xsl:text>Items available for reference: </xsl:text></b> |
| 1155 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1155 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
| 1156 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
1156 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch', concat(items:status, ' ', items:homebranch))[1])]"> |
| 1157 |
<span class="CommasWithLinebreaks"> |
1157 |
<span class="ItemSummary"> |
| 1158 |
<xsl:if test="$singleBranchMode=0"> |
1158 |
<xsl:if test="$singleBranchMode=0"> |
| 1159 |
<xsl:value-of select="items:homebranch"/> |
1159 |
<xsl:value-of select="items:homebranch"/> |
| 1160 |
</xsl:if> |
1160 |
</xsl:if> |
| 1161 |
- |
|
|