Bug 10245: add CSS classes to OPAC detail items table header

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Classes now appear on <th> as well for easy styling.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passes koha-qa.pl, template changes only. Adds classes and id's to table
headers, makes no other changes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Chris Hall 2013-05-15 19:30:57 +12:00 committed by Galen Charlton
parent 5fbf07df7c
commit da6f70c697

View file

@ -1473,17 +1473,17 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
[% BLOCK items_table %]
<table class="holdingst">
<thead><tr>
[% IF ( item_level_itypes ) %]<th id="item_itemtype">Item type</th>[% END %]
<th id="item_location">Location</th>
[% IF ( itemdata_ccode ) %]<th id="item_ccode">Collection</th>[% END %]
<th id="item_callnumber">Call number</th>
[% IF ( itemdata_enumchron ) %]<th id="item_enumchron">Vol info</th>[% END %]
[% IF ( itemdata_uri ) %]<th id="item_url">url</th>[% END %]
[% IF ( itemdata_copynumber ) %]<th id="item_copy">Copy</th>[% END %]
<th id="item_status">Status</th>
[% IF ( itemdata_itemnotes ) %]<th id="item_notes">Notes</th>[% END %]
<th id="item_datedue">Date due</th>
[% IF ( OPACShowBarcode ) %]<th>Barcode</th>[% END %]
[% IF ( item_level_itypes ) %]<th id="item_itemtype" class="itype">Item type</th>[% END %]
<th id="item_location" class="location">Location</th>
[% IF ( itemdata_ccode ) %]<th id="item_ccode" class="collection">Collection</th>[% END %]
<th id="item_callnumber" class="call_no">Call number</th>
[% IF ( itemdata_enumchron ) %]<th id="item_enumchron" class="vol_info">Vol info</th>[% END %]
[% IF ( itemdata_uri ) %]<th id="item_url" class="url">url</th>[% END %]
[% IF ( itemdata_copynumber ) %]<th id="item_copy" class="copynumber">Copy</th>[% END %]
<th id="item_status" class="status">Status</th>
[% IF ( itemdata_itemnotes ) %]<th id="item_notes" class="notes">Notes</th>[% END %]
<th id="item_datedue" class="date_due">Date due</th>
[% IF ( OPACShowBarcode ) %]<th id="item_barcode" class="barcode">Barcode</th>[% END %]
[% IF holds_count.defined %]
<th>Item holds</th>
[% ELSIF show_priority %]