Lines 701-707
Link Here
|
701 |
<table id="table_items"> |
701 |
<table id="table_items"> |
702 |
<thead> |
702 |
<thead> |
703 |
[% IF (StaffDetailItemSelection) %]<th id="[% tab | html %]_checkbox" data-colname="[% tab | html %]_checkbox" class="NoSort"></th>[% END %] |
703 |
[% IF (StaffDetailItemSelection) %]<th id="[% tab | html %]_checkbox" data-colname="[% tab | html %]_checkbox" class="NoSort"></th>[% END %] |
704 |
[% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] |
704 |
[% IF Koha.Preference('LocalCoverImages') %] |
705 |
<th id="[% tab | html %]_cover_image" data-colname="[% tab | html %]_cover_image">Cover image</th> |
705 |
<th id="[% tab | html %]_cover_image" data-colname="[% tab | html %]_cover_image">Cover image</th> |
706 |
[% END %] |
706 |
[% END %] |
707 |
[% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="[% tab | html %]_itype">Item type</th>[% END %] |
707 |
[% IF ( item_level_itypes ) %]<th id="[% tab | html %]_itype" data-colname="[% tab | html %]_itype">Item type</th>[% END %] |
Lines 722-733
Link Here
|
722 |
<th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned">Date accessioned</th> |
722 |
<th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned">Date accessioned</th> |
723 |
<th id="[% tab | html %]_datelastborrowed" data-colname="[% tab | html %]_datelastborrowed">Date last borrowed</th> |
723 |
<th id="[% tab | html %]_datelastborrowed" data-colname="[% tab | html %]_datelastborrowed">Date last borrowed</th> |
724 |
<th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th> |
724 |
<th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th> |
725 |
[% IF ( itemdata_uri ) %]<th id="[% tab | html %]_uri" data-colname="[% tab | html %]_uri">URL</th>[% END %] |
725 |
<th id="[% tab | html %]_uri" data-colname="[% tab | html %]_uri">URL</th> |
726 |
[% IF ( itemdata_copynumber ) %]<th id="[% tab | html %]_copynumber" data-colname="[% tab | html %]_copynumber">Copy number</th>[% END %] |
726 |
<th id="[% tab | html %]_copynumber" data-colname="[% tab | html %]_copynumber">Copy number</th> |
727 |
[% IF ( itemdata_stocknumber ) %]<th id="[% tab | html %]_stocknumber" data-colname="[% tab | html %]_stocknumber">Inventory number</th>[% END %] |
727 |
<th id="[% tab | html %]_stocknumber" data-colname="[% tab | html %]_stocknumber">Inventory number</th> |
728 |
[% IF materials %]<th id="[% tab | html %]_materials" data-colname="[% tab | html %]_materials">Materials specified</th>[% END %] |
728 |
<th id="[% tab | html %]_materials" data-colname="[% tab | html %]_materials">Materials specified</th> |
729 |
[% IF ( itemdata_itemnotes ) %]<th id="[% tab | html %]_itemnotes" data-colname="[% tab | html %]_itemnotes">Public notes</th>[% END %] |
729 |
<th id="[% tab | html %]_itemnotes" data-colname="[% tab | html %]_itemnotes">Public notes</th> |
730 |
[% IF ( itemdata_nonpublicnotes ) %]<th id="[% tab | html %]_itemnotes_nonpublic" data-colname="[% tab | html %]_itemnotes_nonpublic">Non-public notes</th>[% END %] |
730 |
<th id="[% tab | html %]_itemnotes_nonpublic" data-colname="[% tab | html %]_itemnotes_nonpublic">Non-public notes</th> |
731 |
[% IF ( hostrecords ) %]<th id="[% tab | html %]_hostrecord" data-colname="[% tab | html %]_hostrecord">Host records</th>[% END %] |
731 |
[% IF ( hostrecords ) %]<th id="[% tab | html %]_hostrecord" data-colname="[% tab | html %]_hostrecord">Host records</th>[% END %] |
732 |
[% IF ( analyze ) %]<th id="[% tab | html %]_usedin" data-colname="[% tab | html %]_usedin">Used in</th><th></th>[% END %] |
732 |
[% IF ( analyze ) %]<th id="[% tab | html %]_usedin" data-colname="[% tab | html %]_usedin">Used in</th><th></th>[% END %] |
733 |
[% IF ( ShowCourseReserves ) %]<th id="[% tab | html %]_course_reserves" data-colname="[% tab | html %]_course_reserves">Course reserves</th>[% END %] |
733 |
[% IF ( ShowCourseReserves ) %]<th id="[% tab | html %]_course_reserves" data-colname="[% tab | html %]_course_reserves">Course reserves</th>[% END %] |
Lines 2517-2523
Link Here
|
2517 |
} |
2517 |
} |
2518 |
}, |
2518 |
}, |
2519 |
[% END %] |
2519 |
[% END %] |
2520 |
[% IF Koha.Preference('LocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] |
2520 |
[% IF Koha.Preference('LocalCoverImages') %] |
2521 |
{ |
2521 |
{ |
2522 |
data: "", |
2522 |
data: "", |
2523 |
className: "cover", |
2523 |
className: "cover", |
Lines 2684-2690
Link Here
|
2684 |
return row.external_id; // FIXME Display link to moredetail |
2684 |
return row.external_id; // FIXME Display link to moredetail |
2685 |
} |
2685 |
} |
2686 |
}, |
2686 |
}, |
2687 |
[% IF itemdata_uri %] |
|
|
2688 |
{ |
2687 |
{ |
2689 |
data: "me.uri", |
2688 |
data: "me.uri", |
2690 |
className: "uri", |
2689 |
className: "uri", |
Lines 2694-2701
Link Here
|
2694 |
return row.uri; // FIXME Display link |
2693 |
return row.uri; // FIXME Display link |
2695 |
} |
2694 |
} |
2696 |
}, |
2695 |
}, |
2697 |
[% END %] |
|
|
2698 |
[% IF ( itemdata_copynumber ) %] |
2699 |
{ |
2696 |
{ |
2700 |
data: "me.copy_number", |
2697 |
data: "me.copy_number", |
2701 |
className: "copynumber", |
2698 |
className: "copynumber", |
Lines 2705-2712
Link Here
|
2705 |
return row.copy_number; // FIXME Display str version |
2702 |
return row.copy_number; // FIXME Display str version |
2706 |
} |
2703 |
} |
2707 |
}, |
2704 |
}, |
2708 |
[% END %] |
|
|
2709 |
[% IF ( itemdata_stocknumber ) %] |
2710 |
{ |
2705 |
{ |
2711 |
data: "me.inventory_number", |
2706 |
data: "me.inventory_number", |
2712 |
className: "stocknumber", |
2707 |
className: "stocknumber", |
Lines 2716-2723
Link Here
|
2716 |
return row.inventory_number; |
2711 |
return row.inventory_number; |
2717 |
} |
2712 |
} |
2718 |
}, |
2713 |
}, |
2719 |
[% END %] |
|
|
2720 |
[% IF materials %] |
2721 |
{ |
2714 |
{ |
2722 |
data: "me.materials_notes", |
2715 |
data: "me.materials_notes", |
2723 |
className: "materials", |
2716 |
className: "materials", |
Lines 2727-2734
Link Here
|
2727 |
return row.materials_notes; |
2720 |
return row.materials_notes; |
2728 |
} |
2721 |
} |
2729 |
}, |
2722 |
}, |
2730 |
[% END %] |
|
|
2731 |
[% IF ( itemdata_itemnotes ) %] |
2732 |
{ |
2723 |
{ |
2733 |
data: "me.public_notes", |
2724 |
data: "me.public_notes", |
2734 |
className: "itemnotes", |
2725 |
className: "itemnotes", |
Lines 2738-2745
Link Here
|
2738 |
return row.public_notes; // FIXME Replace \n with br |
2729 |
return row.public_notes; // FIXME Replace \n with br |
2739 |
} |
2730 |
} |
2740 |
}, |
2731 |
}, |
2741 |
[% END %] |
|
|
2742 |
[% IF itemdata_nonpublicnotes %] |
2743 |
{ |
2732 |
{ |
2744 |
data: "me.internal_notes", |
2733 |
data: "me.internal_notes", |
2745 |
className: "nonpublicnote", |
2734 |
className: "nonpublicnote", |
Lines 2749-2755
Link Here
|
2749 |
return row.internal_notes; |
2738 |
return row.internal_notes; |
2750 |
} |
2739 |
} |
2751 |
}, |
2740 |
}, |
2752 |
[% END %] |
|
|
2753 |
[% IF ( hostrecords ) %] |
2741 |
[% IF ( hostrecords ) %] |
2754 |
{ |
2742 |
{ |
2755 |
data: "", |
2743 |
data: "", |
2756 |
- |
|
|