5 <p class="cart-controls">
6 <a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a>
7 | <b>Selected items :</b>
8 <a href="#" id="remove_from_cart">Remove</a>
10 [% IF ( loggedinusername ) %]
11 | <a href="#" id="add_to_list">Add to a list</a>
14 [% IF ( CAN_user_reserveforothers ) %]
15 | <a href="#" id="place_hold">Place hold</a>
18 [% IF CAN_user_tools_records_batchmod %]
19 | <a href="#" id="batch_modify">Batch modify</a>
22 [% IF CAN_user_tools_records_batchdel %]
23 | <a href="#" id="batch_delete">Batch delete</a>
27 [% INCLUDE 'doc-head-open.inc' %]
28 <title>Koha › Catalog › Your cart</title>
29 [% INCLUDE 'doc-head-close.inc' %]
32 <body id="cart_basket" class="cart">
34 <div class="main container-fluid">
36 <div class="col-md-12">
38 <div class="container">
42 <div id="toolbar" class="btn-toolbar">
44 <a href="basket.pl" class="btn btn-default showdetails showless"><i class="fa fa-folder"></i> Brief display</a>
46 <a href="basket.pl" class="btn btn-default showdetails showmore"><i class="fa fa-folder-open"></i> More details</a>
49 <a class="btn btn-default" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> Send</a>
50 <div class="btn-group">
51 <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a>
52 <ul class="dropdown-menu">
53 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list | uri %]">iso2709</a></li>
54 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list | uri %]">RIS</a></li>
55 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list | uri %]">BibTex</a></li>
56 [% FOREACH csv_profile IN csv_profiles %]
57 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id | uri %]&bib_list=[% bib_list | uri %]">CSV - [% csv_profile.profile | html %]</a></li>
61 <a class="btn btn-default" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> Print</a>
62 <a class="btn btn-default" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a>
63 <a class="btn btn-default close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a>
68 [% PROCESS controls %]
69 <form action="basket.pl" method="get" name="bookbag_form" id="bookbag_form">
70 [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
72 <input type="checkbox" class="select_record noprint" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]" />
73 [% BIBLIO_RESULT.title |html %]
74 [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %]
75 [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author | html %][% END %]
77 <!-- COinS / Openurl -->
78 <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author | html %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear | html %]&rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place | html %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition | html %]&rft.series=[% BIBLIO_RESULT.series | html %]&rft.genre="></span>
81 [% IF ( BIBLIO_RESULT.isbn ) %]
83 <th scope="row">ISBN</th>
84 <td>[% BIBLIO_RESULT.isbn | html %]</td>
88 [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
90 <th scope="row">Author(s)</th>
92 [% IF ( BIBLIO_RESULT.author ) %]
93 <p>[% BIBLIO_RESULT.author | html %]</p>
95 [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
96 [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
98 [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
99 [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
100 [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]
109 [% IF ( BIBLIO_RESULT.publishercode ) %]
111 <th scope="row">Publisher</th>
112 <td>[% BIBLIO_RESULT.place | html %] [% BIBLIO_RESULT.publishercode | html %] [% BIBLIO_RESULT.publicationyear | html %]
117 [% IF ( BIBLIO_RESULT.pages ) %]
119 <th scope="row">Details</th>
120 <td>[% BIBLIO_RESULT.pages | html %] [% BIBLIO_RESULT.illus | html %] [% BIBLIO_RESULT.item('size') | html %]</td>
124 [% IF ( BIBLIO_RESULT.seriestitle ) %]
126 <th scope="row">Collection</th>
127 <td> [% BIBLIO_RESULT.seriestitle | html %]</td>
131 [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
133 <th scope="row">Subject(s)</th>
135 [% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
137 [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
138 [% MARCSUBJECT_SUBFIELDS_LOO.separator | html %][% MARCSUBJECT_SUBFIELDS_LOO.value | html %]
146 [% IF ( BIBLIO_RESULT.copyrightdate ) %]
147 <tr><th scope="row">Copyright</th>
148 <td> [% BIBLIO_RESULT.copyrightdate | html %]</td>
152 [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
154 <th scope="row">Notes</th>
156 [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
158 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
159 - <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a>
161 - [% MARCNOTE.marcnote | html %]
168 [% IF ( BIBLIO_RESULT.unititle ) %]
170 <th scope="row">Unified title</th>
171 <td> [% BIBLIO_RESULT.unititle | html %]</td>
175 [% IF ( BIBLIO_RESULT.serial ) %]
177 <th scope="row">Serial</th>
178 <td>[% BIBLIO_RESULT.serial | html %]</td>
182 [% IF ( BIBLIO_RESULT.dewey ) %]
184 <th scope="row">Dewey</th>
185 <td>[% BIBLIO_RESULT.dewey | html %]</td>
189 [% IF ( BIBLIO_RESULT.classification ) %]
191 <th scope="row">Classification</th>
192 <td> [% BIBLIO_RESULT.classification | html %]</td>
196 [% IF ( BIBLIO_RESULT.lccn ) %]
198 <th scope="row">LCCN</th>
199 <td> [% BIBLIO_RESULT.lccn | html %]</td>
204 [% IF BIBLIO_RESULT.MARCURLS.size %]
206 <th scope="row">URL(s)</th>
208 [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %]
209 [% IF MARCurl.part %]<p>[% MARCurl.part | html %]</p>[% END %]
210 <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]">[% MARCurl.linktext | html %]</a>
211 [% IF MARCurl.notes %]
212 [% FOREACH note IN MARCurl.notes %]
213 <p>[% note.note | html %]</p>
222 <th scope="row">Location(s)</th>
224 [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
225 [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
227 [% ITEM_RESULT.branchname | html %]
228 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
229 [% IF ( ITEM_RESULT.itemcallnumber ) %]
230 ([% ITEM_RESULT.itemcallnumber | html %])
235 This record has no items.
240 [% END # /FOREACH BIBLIO_RESULT %]
241 </form> [% # /bookbag_form %]
243 [% ELSE # IF verbose %]
245 <form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form">
246 [% PROCESS controls %]
251 <th class="NoSort noprint"> </th>
252 <th class="anti-the">Title</th>
255 <a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a>
260 [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
263 <input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]" />
266 <a href="[% BIBLIO_RESULT.dest | url %]?biblionumber=[% BIBLIO_RESULT.biblionumber | uri %]" class="open_title">
267 [% BIBLIO_RESULT.title |html %]
268 [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %]
269 [% subtitl.subfield | html %]
272 [% BIBLIO_RESULT.author | html %]
274 [% IF ( BIBLIO_RESULT.publishercode ) %]
275 - [% BIBLIO_RESULT.publishercode | html %]
276 [% IF ( BIBLIO_RESULT.place ) %]
277 [% BIBLIO_RESULT.place | html %]
280 [% IF ( BIBLIO_RESULT.pages ) %]
281 - [% BIBLIO_RESULT.pages | html %]
282 [% IF ( BIBLIO_RESULT.item('size') ) %]
283 [% BIBLIO_RESULT.item('size') | html %]
287 [% IF ( BIBLIO_RESULT.notes ) %]
288 <p>[% BIBLIO_RESULT.notes | html %]</p>
290 <!-- COinS / Openurl -->
291 <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author | html %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear | html %]&rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place | html %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition | html %]&rft.series=[% BIBLIO_RESULT.series | html %]&rft.genre="></span>
293 <td>[% BIBLIO_RESULT.description | html %]</td>
294 <td class="callnumbers">
295 [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
296 [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
298 <span class="nowrap">
300 <span class="callnumber">[% ITEM_RESULT.itemcallnumber | html %]</span>
302 [% ITEM_RESULT.branchname | html %]
303 <span class="shelvingloc">[% ITEM_RESULT.location_description | html %]</span>
308 This record has no items.
312 [% END # /FOREACH BIBLIO_RESULT %]
315 [% END # /IF verbose %]
317 <form name="myform" action="basket/basket.pl" method="get">
318 <input type="hidden" name="records" id="records" />
321 </div> [% # /.container %]
322 </div> [% # /.col-md-12 %]
324 </div> [% # /.main.container-fluid %]
326 [% INCLUDE js_includes.inc %]
327 [% INCLUDE 'datatables.inc' %]
328 [% Asset.js("js/cart.js") | $raw %]
329 [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]