Lines 157-162
Link Here
|
157 |
</span> |
157 |
</span> |
158 |
[% END %] |
158 |
[% END %] |
159 |
|
159 |
|
|
|
160 |
[% IF ( Koha.Preference('SearchEngine') == 'Elasticsearch' ) %] |
161 |
<span id="catalogue_detail_elastic_record" class="results_summary"><span class="label">Elasticsearch Record :</span> <a href="/cgi-bin/koha/catalogue/showelastic.pl?id=[% biblionumber | uri %]" title="ELASTIC" class="previewElastic">Show</a></span> |
162 |
[% END %] |
163 |
|
160 |
[% IF ( holdcount ) %] |
164 |
[% IF ( holdcount ) %] |
161 |
<span class="results_summary"> |
165 |
<span class="results_summary"> |
162 |
<span class="label">Holds:</span> |
166 |
<span class="label">Holds:</span> |
Lines 1125-1130
Note that permanent location is a code, and location may be an authval.
Link Here
|
1125 |
</div> |
1129 |
</div> |
1126 |
</div> |
1130 |
</div> |
1127 |
|
1131 |
|
|
|
1132 |
<div id="elasticPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="elasticPreviewLabel" aria-hidden="true"> |
1133 |
<div class="modal-dialog modal-lg"> |
1134 |
<div class="modal-content"> |
1135 |
<div class="modal-header"> |
1136 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
1137 |
<h3 id="elasticPreviewLabel">Elastic record</h3> |
1138 |
</div> |
1139 |
<div class="modal-body"> |
1140 |
<div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div> |
1141 |
</div> |
1142 |
<div class="modal-footer"> |
1143 |
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button> |
1144 |
</div> |
1145 |
</div> |
1146 |
</div> |
1147 |
</div> |
1148 |
|
1128 |
</main> |
1149 |
</main> |
1129 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
1150 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
1130 |
|
1151 |
|
Lines 1717-1726
Note that permanent location is a code, and location may be an authval.
Link Here
|
1717 |
var page = $(this).attr("href"); |
1738 |
var page = $(this).attr("href"); |
1718 |
$("#marcPreview .modal-body").load(page + " table"); |
1739 |
$("#marcPreview .modal-body").load(page + " table"); |
1719 |
$('#marcPreview').modal({show:true}); |
1740 |
$('#marcPreview').modal({show:true}); |
|
|
1741 |
|
1720 |
}); |
1742 |
}); |
1721 |
$("#marcPreview").on("hidden.bs.modal", function(){ |
1743 |
|
1722 |
$("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); |
1744 |
[% IF ( Koha.Preference('SearchEngine') == 'Elasticsearch' ) %] |
|
|
1745 |
$("body").on("click",".previewElastic", function(e){ |
1746 |
e.preventDefault(); |
1747 |
var pageElastic = $(this).attr("href"); |
1748 |
$("#elasticPreview .modal-body").load(pageElastic); |
1749 |
$('#elasticPreview').modal({show:true}); |
1723 |
}); |
1750 |
}); |
|
|
1751 |
[% END %] |
1752 |
|
1724 |
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %] |
1753 |
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %] |
1725 |
novSelect.loadContentForQuery({ |
1754 |
novSelect.loadContentForQuery({ |
1726 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
1755 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
Lines 2393-2397
Note that permanent location is a code, and location may be an authval.
Link Here
|
2393 |
}); |
2422 |
}); |
2394 |
[% END %] |
2423 |
[% END %] |
2395 |
</script> |
2424 |
</script> |
|
|
2425 |
|
2396 |
[% END %] |
2426 |
[% END %] |
2397 |
[% INCLUDE 'intranet-bottom.inc' %] |
2427 |
[% INCLUDE 'intranet-bottom.inc' %] |