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 1127-1132
Note that permanent location is a code, and location may be an authval.
Link Here
|
1127 |
</div> |
1131 |
</div> |
1128 |
</div> |
1132 |
</div> |
1129 |
|
1133 |
|
|
|
1134 |
<div id="elasticPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="elasticPreviewLabel" aria-hidden="true"> |
1135 |
<div class="modal-dialog modal-lg"> |
1136 |
<div class="modal-content"> |
1137 |
<div class="modal-header"> |
1138 |
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button> |
1139 |
<h3 id="elasticPreviewLabel">Elastic record</h3> |
1140 |
</div> |
1141 |
<div class="modal-body"> |
1142 |
<div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div> |
1143 |
</div> |
1144 |
<div class="modal-footer"> |
1145 |
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button> |
1146 |
</div> |
1147 |
</div> |
1148 |
</div> |
1149 |
</div> |
1150 |
|
1130 |
</main> |
1151 |
</main> |
1131 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
1152 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
1132 |
|
1153 |
|
Lines 1719-1728
Note that permanent location is a code, and location may be an authval.
Link Here
|
1719 |
var page = $(this).attr("href"); |
1740 |
var page = $(this).attr("href"); |
1720 |
$("#marcPreview .modal-body").load(page + " table"); |
1741 |
$("#marcPreview .modal-body").load(page + " table"); |
1721 |
$('#marcPreview').modal({show:true}); |
1742 |
$('#marcPreview').modal({show:true}); |
|
|
1743 |
|
1722 |
}); |
1744 |
}); |
1723 |
$("#marcPreview").on("hidden.bs.modal", function(){ |
1745 |
|
1724 |
$("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); |
1746 |
[% IF ( Koha.Preference('SearchEngine') == 'Elasticsearch' ) %] |
|
|
1747 |
$("body").on("click",".previewElastic", function(e){ |
1748 |
e.preventDefault(); |
1749 |
var pageElastic = $(this).attr("href"); |
1750 |
$("#elasticPreview .modal-body").load(pageElastic); |
1751 |
$('#elasticPreview').modal({show:true}); |
1725 |
}); |
1752 |
}); |
|
|
1753 |
[% END %] |
1754 |
|
1726 |
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %] |
1755 |
[% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %] |
1727 |
novSelect.loadContentForQuery({ |
1756 |
novSelect.loadContentForQuery({ |
1728 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
1757 |
ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]', |
Lines 2430-2434
Note that permanent location is a code, and location may be an authval.
Link Here
|
2430 |
}); |
2459 |
}); |
2431 |
[% END %] |
2460 |
[% END %] |
2432 |
</script> |
2461 |
</script> |
|
|
2462 |
|
2433 |
[% END %] |
2463 |
[% END %] |
2434 |
[% INCLUDE 'intranet-bottom.inc' %] |
2464 |
[% INCLUDE 'intranet-bottom.inc' %] |