Lines 1407-1417
Link Here
|
1407 |
<xsl:variable name="unavailable_items" select="key('item-by-status', 'reallynotforloan')"/> |
1407 |
<xsl:variable name="unavailable_items" select="key('item-by-status', 'reallynotforloan')"/> |
1408 |
<xsl:for-each select="$unavailable_items[not(./items:substatus=preceding-sibling::*/items:substatus)]"> |
1408 |
<xsl:for-each select="$unavailable_items[not(./items:substatus=preceding-sibling::*/items:substatus)]"> |
1409 |
<span class="ItemSummary unavailable"> |
1409 |
<span class="ItemSummary unavailable"> |
1410 |
<span class='notforloandesc'><xsl:value-of select="items:substatus"/></span> |
1410 |
<xsl:call-template name="listCallNumbers"> |
1411 |
<xsl:text> (</xsl:text> |
1411 |
<xsl:with-param name="status_text" select="items:substatus"/> |
1412 |
<xsl:value-of select="count(parent::*/items:item/items:substatus[ text() = current()/items:substatus ])"/> |
1412 |
<xsl:with-param name="items" select="$unavailable_items[./items:substatus=current()/items:substatus]"/> |
1413 |
<xsl:text>)</xsl:text> |
1413 |
<xsl:with-param name="max" select="$resultsMaxItemsUnavailable"/> |
1414 |
<xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text>, </xsl:text></xsl:otherwise></xsl:choose> |
1414 |
</xsl:call-template> |
1415 |
</span> |
1415 |
</span> |
1416 |
</xsl:for-each> |
1416 |
</xsl:for-each> |
1417 |
|
1417 |
|
1418 |
- |
|
|