Lines 1294-1305
Link Here
|
1294 |
<xsl:text>). </xsl:text> </span> |
1294 |
<xsl:text>). </xsl:text> </span> |
1295 |
</xsl:if> |
1295 |
</xsl:if> |
1296 |
</span> |
1296 |
</span> |
1297 |
<xsl:choose> |
1297 |
|
1298 |
<xsl:when test="($OPACItemLocation='location' or $OPACItemLocation='ccode') and (count(key('item-by-status', 'available'))>0 or ($OPACXSLTResultsHideNFL=0 and count(key('item-by-status', 'reference'))>0))"> |
1298 |
<xsl:if test="($OPACItemLocation='location' or $OPACItemLocation='ccode') and (count(key('item-by-status', 'available'))>0 or ($OPACXSLTResultsHideNFL=0 and count(key('item-by-status', 'reference'))>0))"> |
1299 |
<span class="results_summary location"> |
1299 |
<span class="results_summary location"> |
1300 |
<span class="label">Location(s): </span> |
1300 |
<span class="label">Location(s): </span> |
1301 |
<xsl:choose> |
1301 |
<xsl:if test="count(key('item-by-status', 'available'))>0"> |
1302 |
<xsl:when test="count(key('item-by-status', 'available'))>0"> |
|
|
1303 |
<span class="available"> |
1302 |
<span class="available"> |
1304 |
<xsl:variable name="available_items" select="key('item-by-status', 'available')"/> |
1303 |
<xsl:variable name="available_items" select="key('item-by-status', 'available')"/> |
1305 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1304 |
<xsl:for-each select="$available_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
Lines 1311-1318
Link Here
|
1311 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1310 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1312 |
</xsl:for-each> |
1311 |
</xsl:for-each> |
1313 |
</span> |
1312 |
</span> |
1314 |
</xsl:when> |
1313 |
</xsl:if> |
1315 |
<xsl:when test="$OPACXSLTResultsHideNFL=0 and count(key('item-by-status', 'reference'))>0"> |
1314 |
|
|
|
1315 |
<xsl:if test="$OPACXSLTResultsHideNFL=0 and count(key('item-by-status', 'reference'))>0"> |
1316 |
<span class="available"> |
1316 |
<span class="available"> |
1317 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1317 |
<xsl:variable name="reference_items" select="key('item-by-status', 'reference')"/> |
1318 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
1318 |
<xsl:for-each select="$reference_items[generate-id() = generate-id(key('item-by-status-and-branch-home', concat(items:status, ' ', items:homebranch))[1])]"> |
Lines 1324-1334
Link Here
|
1324 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1324 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1325 |
</xsl:for-each> |
1325 |
</xsl:for-each> |
1326 |
</span> |
1326 |
</span> |
1327 |
</xsl:when> |
1327 |
</xsl:if> |
1328 |
</xsl:choose> |
1328 |
|
1329 |
</span> |
1329 |
</span> |
1330 |
</xsl:when> |
1330 |
</xsl:if> |
1331 |
</xsl:choose> |
|
|
1332 |
</xsl:template> |
1331 |
</xsl:template> |
1333 |
|
1332 |
|
1334 |
<xsl:template name="nameABCQ"> |
1333 |
<xsl:template name="nameABCQ"> |
1335 |
- |
|
|