Lines 274-280
Link Here
|
274 |
</li> |
274 |
</li> |
275 |
[% END %] |
275 |
[% END %] |
276 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %] |
276 |
[% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions ([% ( MARCNOTES.size || 1 ) | html %])</a></li>[% END %] |
277 |
[% IF ( ComponentParts ) %]<li><a href="#components">Components ([% ( ComponentParts.size || 1 ) %])</a></li>[% END %] |
277 |
[% IF ( ComponentParts ) %]<li id="components_tab"><a href="#components">Components ([% ( ComponentParts.size ) %])</a></li>[% END %] |
278 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
278 |
[% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %] |
279 |
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
279 |
[% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %] |
280 |
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %] |
280 |
[% IF suggestions.count %]<li><a href="#suggestion_details">Suggestion details</a></li>[% END %] |
Lines 1265-1273
Note that permanent location is a code, and location may be an authval.
Link Here
|
1265 |
|
1265 |
|
1266 |
$(document).ready(function() { |
1266 |
$(document).ready(function() { |
1267 |
$('#bibliodetails').tabs(); |
1267 |
$('#bibliodetails').tabs(); |
1268 |
[% IF count == 0 and ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) %] |
1268 |
// Pick details tab to display by default |
|
|
1269 |
[% IF count == 0 %] |
1270 |
[% IF ( Koha.Preference('HTML5MediaEnabled') == 'staff' or Koha.Preference('HTML5MediaEnabled') == 'both' ) && HTML5MediaSets.size %] |
1269 |
$('#bibliodetails').tabs("option", "active", $('#media_tab').index() ); |
1271 |
$('#bibliodetails').tabs("option", "active", $('#media_tab').index() ); |
1270 |
[% END %] |
1272 |
[% ELSIF ComponentParts %] |
|
|
1273 |
$('#bibliodetails').tabs("option", "active", $('#components_tab').index() ); |
1274 |
[% END %] |
1275 |
[% END %] |
1271 |
$('#search-form').focus(); |
1276 |
$('#search-form').focus(); |
1272 |
$('.thumbnails > li > .remove').click(function() { |
1277 |
$('.thumbnails > li > .remove').click(function() { |
1273 |
var result = confirm(_("Are you sure you want to delete this cover image?")); |
1278 |
var result = confirm(_("Are you sure you want to delete this cover image?")); |
1274 |
- |
|
|