<button id="btnMore" data-toggle="collapse" data-target="#demo"
class="btn btn-action btn-sm my-3"><i class="fas fa-info-circle" aria-hidden="true"></i> [% l('More Details') %]</button>
<div id="demo" class="collapse">
+
<h2 id='rdetail_record_details' style="font-size:1.5em;">[% l("Record details") %]</h2>
+
+
+
<ul class="list-unstyled">
[%- IF attrs.hl.isbn.size; FOR isbn IN attrs.hl.isbn %]
<li class='rdetail_isbns'>
[%- INCLUDE "opac/parts/record/contents.tt2" %]
[%- INCLUDE "opac/parts/record/subjects.tt2" %]
[%- INCLUDE "opac/parts/record/series.tt2" %]
+
+ </div>
+
+ </div>
+ <script>jQuery('#demo').on('hidden.bs.collapse', function () {
+ jQuery('#btnMore').html("<i class='fas fa-info-circle' aria-hidden='true'></i> More Details");
+ })
+ jQuery('#demo').on('shown.bs.collapse', function () {
+ jQuery('#btnMore').html("<i class='fas fa-info-circle' aria-hidden='true'></i> Less Details");
+ })
+ </script>
+
+ <div id="copy_hold_counts">
+
+ [%-
+ # Hold/copy summary
+ IF ctx.copy_summary.0.count;
+ INCLUDE "opac/parts/record/copy_counts.tt2";
+ %]
+
+
+ [%- END %]
+
+ </div> <!-- metarecord_population -->
<div>
[%-
# l( 'mmr id = ' _ ctx.mmr_id );
IF args.mmr_unique_bib.size > 1;
%]
- <h3 style="font-size:1.5em;">[% l("More Options") %]</h3>
+
+ <h2 class="rdetail_other_formats">[% l("Other Formats and Editions") %]</h2>
+
<span class="metarecord_population_format">
[%- IF mmr_attrs.format_label;
[% args = save_args; %]
</div>
- </div>
-
- </div>
- <script>jQuery('#demo').on('hidden.bs.collapse', function () {
- jQuery('#btnMore').html("<i class='fas fa-info-circle' aria-hidden='true'></i> More Details");
- })
- jQuery('#demo').on('shown.bs.collapse', function () {
- jQuery('#btnMore').html("<i class='fas fa-info-circle' aria-hidden='true'></i> Less Details");
- })
- </script>
-
- <div id="copy_hold_counts">
-
- [%-
- # Hold/copy summary
- IF ctx.copy_summary.0.count;
- INCLUDE "opac/parts/record/copy_counts.tt2";
- %]
-
-
- [%- END %]
-
- </div> <!-- metarecord_population -->
-
- <!-- PINES: Moved Holds block here -->
- <div>
- <h2 style="font-size:1.5em;">[% l('Holds') %]</h2>
- <ul>
- [%
- # If org hiding is enabled/relevant, only show
- # counts for copies within the hiding scope.
- count_entry = 0;
- FOR count_chunk IN ctx.copy_summary;
- IF ctx.org_within_hiding_scope(count_chunk.org_unit);
- # always true when hiding is disabled
- LAST;
- END;
- count_entry = count_entry + 1;
- END;
- "<li>"; ctx.record_hold_count; " "; l("current holds");
- %]
- </ul>
- </div>
-
</div>
<!--rdetail_title_div-->
<div class="col-lg-4">
- <div id="actions" class="mx-auto btn-group btn-group-vertical dropright mt-3">
+ <div id="actions" class="mx-auto btn-group-vertical dropright mt-3">
[%- search_ou = ctx.search_ou;
IF ctx.place_unfillable ||
( attrs.marc_xml.findnodes('//*[local-name()="holdings" and @has_holdable="true"]').size
)
%]
- [% IF !ctx.is_staff %]
- <a class="btn btn-action" role="button" href="[% mkurl(ctx.opac_root _ '/place_hold',
- {hold_target => ctx.bre_id, hold_type => 'T', hold_source_page => mkurl()}, stop_parms) %]"
- class="no-dec">
- <span class="place_hold"><i class="fas fa-check" aria-hidden="true"></i> [% l('Place Hold') %]</span></a>
- [% END %]
<!-- PINES WORKAROUND FOR TRADITIONAL CATALOG -->
[% IF ctx.is_staff %]
<a class="btn btn-action" role="button" href="/eg2/en-US/staff/catalog/hold/T?target=[%- ctx.bre_id -%]"
<span class="place_hold"><i class="fas fa-check" aria-hidden="true"></i> [% l('Place Hold (Staff Function)') %]</span></a>
[% END %]
<!-- END WORKAROUND -->
+
+ <a class="btn btn-action no-dec" role="button" href="[% mkurl(ctx.opac_root _ '/place_hold',
+ {hold_target => ctx.bre_id, hold_type => 'T', hold_source_page => mkurl()}, stop_parms) %]">
+ <span class="place-hold"><i class="fas fa-check" aria-hidden="true"></i> [% l('Place Hold') %]</span></a>
+
+
[%- END -%]
[%- IF ebook_api.enabled == 'true' && args.ebook %]