Lines 269-275
Link Here
|
269 |
</li> |
269 |
</li> |
270 |
[% END %] |
270 |
[% END %] |
271 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %] |
271 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %] |
272 |
[% IF ( ComponentParts ) %]<li id="components_tab"><a href="#components">Components ([% ( ComponentParts.size ) %])</a></li>[% END %] |
272 |
[% IF ComponentParts && ComponentParts.size %]<li id="components_tab"><a href="#components">Components ([% ComponentParts.size | html %])</a></li>[% END %] |
273 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
273 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
274 |
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
274 |
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
275 |
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %] |
275 |
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %] |
Lines 675-681
Note that permanent location is a code, and location may be an authval.
Link Here
|
675 |
|
675 |
|
676 |
[% END %] |
676 |
[% END %] |
677 |
|
677 |
|
678 |
[% IF ComponentParts.size %] |
678 |
[% IF ComponentParts && ComponentParts.size %] |
679 |
<div id="components"> |
679 |
<div id="components"> |
680 |
<div class="content_set"> |
680 |
<div class="content_set"> |
681 |
<table> |
681 |
<table> |
Lines 688-694
Note that permanent location is a code, and location may be an authval.
Link Here
|
688 |
[% END %] |
688 |
[% END %] |
689 |
</table> |
689 |
</table> |
690 |
[% IF ComponentParts.size == Koha.Preference('MaxComponentRecords')%] |
690 |
[% IF ComponentParts.size == Koha.Preference('MaxComponentRecords')%] |
691 |
<p>Only [% ComponentParts.size %] results are shown: <a href="/cgi-bin/koha/catalogue/search.pl?q=[% ComponentPartsQuery | uri %]"/>show all component parts</a></p> |
691 |
<p>Only [% ComponentParts.size | html %] results are shown: <a href="/cgi-bin/koha/catalogue/search.pl?q=[% ComponentPartsQuery | uri %]"/>show all component parts</a></p> |
692 |
[% END %] |
692 |
[% END %] |
693 |
</div> |
693 |
</div> |
694 |
|
694 |
|
Lines 1264-1270
Note that permanent location is a code, and location may be an authval.
Link Here
|
1264 |
[% IF count == 0 %] |
1264 |
[% IF count == 0 %] |
1265 |
[% IF ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) && HTML5MediaSets.size %] |
1265 |
[% IF ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) && HTML5MediaSets.size %] |
1266 |
$('#bibliodetails').tabs("option", "active", $('#media_tab').index() ); |
1266 |
$('#bibliodetails').tabs("option", "active", $('#media_tab').index() ); |
1267 |
[% ELSIF ComponentParts %] |
1267 |
[% ELSIF ComponentParts && ComponentParts.size %] |
1268 |
$('#bibliodetails').tabs("option", "active", $('#components_tab').index() ); |
1268 |
$('#bibliodetails').tabs("option", "active", $('#components_tab').index() ); |
1269 |
[% END %] |
1269 |
[% END %] |
1270 |
[% END %] |
1270 |
[% END %] |