.itemtree .itemtree { margin-left: 30px; padding-left: 0; }
-.an_item {width: 700px; margin: 0;}
+.an_item {width: 750px; margin: 0;}
.itemtree li { padding-left: 0; margin-left: 0; }
.itemtree li { margin: 12px 8px; line-height: 115%; }
.availability {
float: right; color: darkred; background-color: #eee;
- width: 150px; margin-left: 8px;
+ width: 225px; margin-left: 8px;
font-size: 80%;
}
.availability div { padding: 2px 4px; }
.availability .unavailable { color: darkred; background-color: #edd; }
.avail_nonphys { background-color: white; }
.availability .callnumber { margin: 2px 0; }
+.standout { font-weight: bold; }
<span py:if="_circmod == 'RESERVE 4 HOUR'">4 Hour Loan</span>
<span py:if="_circmod == 'RESERVE 7 DAY'">7 Day Loan</span>
</div>
- <div class="callnumber">${_callno}</div>
- <div py:if="_dueinfo">DUE: ${_dueinfo}</div>
+ <div class="callnumber"><span py:if="_avail > 0">Ask for: </span><span class="standout">${_callno}</span></div>
+ <div py:if="_dueinfo">NEXT DUE: ${_dueinfo}</div>
</div>
<div py:if="not valid" class="unavailable">
Availability unknown.
<div class="callnumber">${item.call_number()}</div>
-
</div>
-
+
</a>
+ <div py:with="(_lib, _desk, _avail, _callno, _dueinfo, _circmod) = stat">
+ <div py:if="_desk > 1 and item.bib_id and gethook('bib_id_to_url')"
+ py:with="url=callhook('bib_id_to_url', item.bib_id)">
+ <a py:if="url" href="${url}">View status of all copies in catalogue</a>
+ </div>
</div>
+ </div>
+
+
<div class="availability avail_nonphys" py:if="item.item_type != 'PHYS'">
</div>
<div class="mainline ${item.item_type=='HEADING' and 'headingmainline' or ''}">
</div>
</div>
+ <div py:if="item.bib_id and gethook('bib_id_to_url')"
+ py:with="url=callhook('bib_id_to_url', item.bib_id)">
+ <a py:if="url" href="${url}">View status of all copies in catalogue</a>
+ </div>
+
<div py:if="item.marcxml">
<abbr py:if="item.marcxml" class="unapi-id" title="${item.id}"/>
<p id="marcdatashow"><a href="javascript:void($('#marcdata').toggle());">Display MARC Record</a></p>
</table>
</div>
</div>
- <div py:if="item.bib_id and gethook('bib_id_to_url')"
- py:with="url=callhook('bib_id_to_url', item.bib_id)">
- <a py:if="url" href="${url}">View catalogue entry</a>
- </div>
</body>
</html>