View | Details | Raw Unified | Return to bug 34872
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt (-227 / +230 lines)
Lines 7-13 Link Here
7
[% BLOCK controls %]
7
[% BLOCK controls %]
8
    <p class="cart-controls">
8
    <p class="cart-controls">
9
        <a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-times"></i> Clear all</a>
9
        <a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a> <a id="CheckNone" href="#"><i class="fa fa-times"></i> Clear all</a>
10
        | <strong>Selected items :</strong>
10
        | <strong>Selected items:</strong>
11
        <a href="#" id="remove_from_cart">Remove</a>
11
        <a href="#" id="remove_from_cart">Remove</a>
12
12
13
        [% IF ( loggedinusername ) %]
13
        [% IF ( loggedinusername ) %]
Lines 83-343 Link Here
83
                                <!-- COinS / Openurl -->
83
                                <!-- COinS / Openurl -->
84
                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author | html %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear | html %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place | html %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition | html %]&amp;rft.series=[% BIBLIO_RESULT.series | html %]&amp;rft.genre="></span>
84
                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author | html %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear | html %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place | html %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition | html %]&amp;rft.series=[% BIBLIO_RESULT.series | html %]&amp;rft.genre="></span>
85
85
86
                                <table>
86
                                <div class="page-section">
87
                                    [% IF ( BIBLIO_RESULT.isbn ) %]
87
                                    <table>
88
                                        <tr>
88
                                        [% IF ( BIBLIO_RESULT.isbn ) %]
89
                                            <th scope="row">ISBN</th>
89
                                            <tr>
90
                                            <td>[% BIBLIO_RESULT.isbn | html %]</td>
90
                                                <th scope="row">ISBN</th>
91
                                        </tr>
91
                                                <td>[% BIBLIO_RESULT.isbn | html %]</td>
92
                                    [% END %]
92
                                            </tr>
93
                                        [% END %]
94
95
                                        [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
96
                                            <tr>
97
                                                <th scope="row">Author(s)</th>
98
                                                <td>
99
                                                    [% IF ( BIBLIO_RESULT.author ) %]
100
                                                        <p>[% BIBLIO_RESULT.author | html %]</p>
101
                                                    [% END %]
102
                                                    [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
103
                                                        [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
104
                                                            <p>
105
                                                                [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
106
                                                                    [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
107
                                                                    [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]
108
                                                                [% END %]
109
                                                            </p>
110
                                                        [% END %]
111
                                                    [% END %]
112
                                                </td>
113
                                            </tr>
114
                                        [% END %]
115
116
                                        [% IF ( BIBLIO_RESULT.publishercode ) %]
117
                                            <tr>
118
                                                <th scope="row">Publisher</th>
119
                                                <td>[% BIBLIO_RESULT.place | html %] [% BIBLIO_RESULT.publishercode | html %] [% BIBLIO_RESULT.publicationyear | html %]
120
                                                </td>
121
                                            </tr>
122
                                        [% END %]
123
124
                                        [% IF ( BIBLIO_RESULT.pages ) %]
125
                                            <tr>
126
                                                <th scope="row">Details</th>
127
                                                <td>[% BIBLIO_RESULT.pages | html %] [% BIBLIO_RESULT.illus | html %] [% BIBLIO_RESULT.item('size') | html %]</td>
128
                                            </tr>
129
                                        [% END %]
130
131
                                        [% IF ( BIBLIO_RESULT.seriestitle ) %]
132
                                            <tr>
133
                                                <th scope="row">Collection</th>
134
                                                <td> [% BIBLIO_RESULT.seriestitle | html %]</td>
135
                                            </tr>
136
                                        [% END %]
137
138
                                        [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
139
                                            <tr>
140
                                                <th scope="row">Subject(s)</th>
141
                                                <td>
142
                                                    [% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
143
                                                        <p>
144
                                                            [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
145
                                                                [% MARCSUBJECT_SUBFIELDS_LOO.separator | html %][% MARCSUBJECT_SUBFIELDS_LOO.value | html %]
146
                                                            [% END %]
147
                                                        </p>
148
                                                    [% END %]
149
                                                </td>
150
                                            </tr>
151
                                        [% END %]
152
153
                                        [% IF ( BIBLIO_RESULT.copyrightdate ) %]
154
                                            <tr><th scope="row">Copyright</th>
155
                                                <td> [% BIBLIO_RESULT.copyrightdate | html %]</td>
156
                                            </tr>
157
                                        [% END %]
158
159
                                        [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
160
                                            <tr>
161
                                                <th scope="row">Notes</th>
162
                                                <td>
163
                                                    [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
164
                                                        <p>
165
                                                        [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
166
                                                            - <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a>
167
                                                        [% ELSE %]
168
                                                            - [% MARCNOTE.marcnote | html %]
169
                                                        [% END %]
170
                                                    [% END %]
171
                                                </td>
172
                                            </tr>
173
                                        [% END %]
174
175
                                        [% IF ( BIBLIO_RESULT.unititle ) %]
176
                                            <tr>
177
                                                <th scope="row">Unified title</th>
178
                                                <td> [% BIBLIO_RESULT.unititle | html %]</td>
179
                                            </tr>
180
                                        [% END %]
181
182
                                        [% IF ( BIBLIO_RESULT.serial ) %]
183
                                            <tr>
184
                                                <th scope="row">Serial</th>
185
                                                <td>[% BIBLIO_RESULT.serial | html %]</td>
186
                                            </tr>
187
                                        [% END %]
188
189
                                        [% IF ( BIBLIO_RESULT.dewey ) %]
190
                                            <tr>
191
                                                <th scope="row">Dewey</th>
192
                                                <td>[% BIBLIO_RESULT.dewey | html %]</td>
193
                                            </tr>
194
                                        [% END %]
195
196
                                        [% IF ( BIBLIO_RESULT.classification ) %]
197
                                            <tr>
198
                                                <th scope="row">Classification</th>
199
                                                <td> [% BIBLIO_RESULT.classification | html %]</td>
200
                                            </tr>
201
                                        [% END %]
202
203
                                        [% IF ( BIBLIO_RESULT.lccn ) %]
204
                                            <tr>
205
                                                <th scope="row">LCCN</th>
206
                                                <td> [% BIBLIO_RESULT.lccn | html %]</td>
207
                                            </tr>
208
                                        [% END %]
209
210
211
                                        [% IF BIBLIO_RESULT.MARCURLS.size %]
212
                                            <tr>
213
                                                <th scope="row">URL(s)</th>
214
                                                <td>
215
                                                   [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %]
216
                                                        [% IF MARCurl.part %]<p>[% MARCurl.part | html %]</p>[% END %]
217
                                                        <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]">[% MARCurl.linktext | html %]</a>
218
                                                        [% IF MARCurl.notes %]
219
                                                            [% FOREACH note IN MARCurl.notes %]
220
                                                                <p>[% note.note | html %]</p>
221
                                                            [% END %]
222
                                                        [% END %]
223
                                                    [% END %]
224
                                                </td>
225
                                            </tr>
226
                                        [% END %]
227
228
                                        [% IF BIBLIO_RESULT.HOSTITEMENTRIES || BIBLIO_RESULT.HOSTINFO %]
229
                                            <tr>
230
                                                <th scope="row">In</th>
231
                                                <td>
232
                                                    [% IF BIBLIO_RESULT.HOSTITEMENTRIES %]
233
                                                        <p>[% INCLUDE 'biblio-title.inc' link = 1 biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | html %]</p>
234
                                                    [% ELSE %]
235
                                                        <p>[% BIBLIO_RESULT.HOSTINFO | html %]</p>
236
                                                    [% END %]
237
                                                </td>
238
                                            </tr>
239
                                        [% END %]
93
240
94
                                    [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
95
                                        <tr>
241
                                        <tr>
96
                                            <th scope="row">Author(s)</th>
242
                                            <th scope="row">Location(s)</th>
97
                                            <td>
243
                                            <td>
98
                                                [% IF ( BIBLIO_RESULT.author ) %]
244
                                                [% IF BIBLIO_RESULT.ITEM_RESULTS.count %]
99
                                                    <p>[% BIBLIO_RESULT.author | html %]</p>
245
                                                    [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
100
                                                [% END %]
101
                                                [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
102
                                                    [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
103
                                                        <p>
246
                                                        <p>
104
                                                            [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
247
                                                            [% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]
105
                                                                [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
248
                                                            <span class="shelvingloc">
106
                                                                [% MARCAUTHOR_SUBFIELDS_LOO.value | html %]
249
                                                                [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location ) | html %]
250
                                                            </span>
251
                                                            [% IF ( ITEM_RESULT.itemcallnumber ) %]
252
                                                                ([% ITEM_RESULT.itemcallnumber | html %])
107
                                                            [% END %]
253
                                                            [% END %]
108
                                                        </p>
254
                                                        </p>
109
                                                    [% END %]
255
                                                    [% END %]
256
                                                [% ELSE %]
257
                                                    This record has no items.
110
                                                [% END %]
258
                                                [% END %]
111
                                            </td>
259
                                            </td>
112
                                        </tr>
260
                                        </tr>
113
                                    [% END %]
261
                                    </table>
262
                                </div>
263
                            [% END # /FOREACH BIBLIO_RESULT %]
264
                        </form> [% # /bookbag_form %]
114
265
115
                                    [% IF ( BIBLIO_RESULT.publishercode ) %]
266
                    [% ELSE # IF verbose %]
116
                                        <tr>
117
                                            <th scope="row">Publisher</th>
118
                                            <td>[% BIBLIO_RESULT.place | html %] [% BIBLIO_RESULT.publishercode | html %] [% BIBLIO_RESULT.publicationyear | html %]
119
                                            </td>
120
                                        </tr>
121
                                    [% END %]
122
267
123
                                    [% IF ( BIBLIO_RESULT.pages ) %]
268
                        <form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form">
124
                                        <tr>
269
                            [% PROCESS controls %]
125
                                            <th scope="row">Details</th>
126
                                            <td>[% BIBLIO_RESULT.pages | html %] [% BIBLIO_RESULT.illus | html %] [% BIBLIO_RESULT.item('size') | html %]</td>
127
                                        </tr>
128
                                    [% END %]
129
270
130
                                    [% IF ( BIBLIO_RESULT.seriestitle ) %]
271
                            <div class="page-section">
272
                                <table id="itemst">
273
                                    <thead>
131
                                        <tr>
274
                                        <tr>
132
                                            <th scope="row">Collection</th>
275
                                            <th class="NoSort noprint">&nbsp;</th>
133
                                            <td> [% BIBLIO_RESULT.seriestitle | html %]</td>
276
                                            <th class="anti-the">Title</th>
277
                                            <th>Item type</th>
278
                                            <th>
279
                                                <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>
280
                                            </th>
134
                                        </tr>
281
                                        </tr>
135
                                    [% END %]
282
                                    </thead>
136
283
137
                                    [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
284
                                    [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
138
                                        <tr>
285
                                        <tr>
139
                                            <th scope="row">Subject(s)</th>
286
                                            <td class="noprint">
287
                                                <input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]" />
288
                                            </td>
140
                                            <td>
289
                                            <td>
141
                                                [% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
290
                                                [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT link = 1 %]</a>
142
                                                    <p>
291
                                                [% BIBLIO_RESULT.author | html %]
143
                                                        [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
292
                                                <p>
144
                                                            [% MARCSUBJECT_SUBFIELDS_LOO.separator | html %][% MARCSUBJECT_SUBFIELDS_LOO.value | html %]
293
                                                    [% IF ( BIBLIO_RESULT.publishercode ) %]
294
                                                        - [% BIBLIO_RESULT.publishercode | html %]
295
                                                        [% IF ( BIBLIO_RESULT.place ) %]
296
                                                            [% BIBLIO_RESULT.place | html %]
145
                                                        [% END %]
297
                                                        [% END %]
146
                                                    </p>
298
                                                    [% END %]
299
                                                    [% IF ( BIBLIO_RESULT.pages ) %]
300
                                                        - [% BIBLIO_RESULT.pages | html %]
301
                                                        [% IF ( BIBLIO_RESULT.item('size') ) %]
302
                                                            [% BIBLIO_RESULT.item('size') | html %]
303
                                                        [% END %]
304
                                                    [% END %]
305
                                                </p>
306
                                                [% IF ( BIBLIO_RESULT.notes ) %]
307
                                                    <p>[% BIBLIO_RESULT.notes | html %]</p>
147
                                                [% END %]
308
                                                [% END %]
148
                                            </td>
309
                                                [% IF BIBLIO_RESULT.HOSTITEMENTRIES || BIBLIO_RESULT.HOSTINFO %]
149
                                        </tr>
310
                                                    <p>In:
150
                                    [% END %]
311
                                                    [% IF BIBLIO_RESULT.HOSTITEMENTRIES %]
151
312
                                                        [% INCLUDE 'biblio-title.inc' link = 1 biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | html %]
152
                                    [% IF ( BIBLIO_RESULT.copyrightdate ) %]
153
                                        <tr><th scope="row">Copyright</th>
154
                                            <td> [% BIBLIO_RESULT.copyrightdate | html %]</td>
155
                                        </tr>
156
                                    [% END %]
157
158
                                    [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
159
                                        <tr>
160
                                            <th scope="row">Notes</th>
161
                                            <td>
162
                                                [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
163
                                                    <p>
164
                                                    [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
165
                                                        - <a href="[% MARCNOTE.marcnote | url %]">[% MARCNOTE.marcnote | html %]</a>
166
                                                    [% ELSE %]
313
                                                    [% ELSE %]
167
                                                        - [% MARCNOTE.marcnote | html %]
314
                                                        [% BIBLIO_RESULT.HOSTINFO | html %]
168
                                                    [% END %]
315
                                                    [% END %]
316
                                                    </p>
169
                                                [% END %]
317
                                                [% END %]
318
                                                <!-- COinS / Openurl -->
319
                                                <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author | html %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear | html %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place | html %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition | html %]&amp;rft.series=[% BIBLIO_RESULT.series | html %]&amp;rft.genre="></span>
170
                                            </td>
320
                                            </td>
171
                                        </tr>
321
                                            <td>[% BIBLIO_RESULT.description | html %]</td>
172
                                    [% END %]
322
                                            <td class="callnumbers">
173
323
                                                [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
174
                                    [% IF ( BIBLIO_RESULT.unititle ) %]
324
                                                    [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
175
                                        <tr>
325
                                                        <div>
176
                                            <th scope="row">Unified title</th>
326
                                                            <span class="nowrap">
177
                                            <td> [% BIBLIO_RESULT.unititle | html %]</td>
327
                                                                <strong>
178
                                        </tr>
328
                                                                    <span class="callnumber">[% ITEM_RESULT.itemcallnumber | html %]</span>
179
                                    [% END %]
329
                                                                </strong>
180
330
                                                                [% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]
181
                                    [% IF ( BIBLIO_RESULT.serial ) %]
331
                                                                <span class="shelvingloc">
182
                                        <tr>
332
                                                                    [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location ) | html %]
183
                                            <th scope="row">Serial</th>
333
                                                                </span>
184
                                            <td>[% BIBLIO_RESULT.serial | html %]</td>
334
                                                            </span>
185
                                        </tr>
335
                                                        </div>
186
                                    [% END %]
187
188
                                    [% IF ( BIBLIO_RESULT.dewey ) %]
189
                                        <tr>
190
                                            <th scope="row">Dewey</th>
191
                                            <td>[% BIBLIO_RESULT.dewey | html %]</td>
192
                                        </tr>
193
                                    [% END %]
194
195
                                    [% IF ( BIBLIO_RESULT.classification ) %]
196
                                        <tr>
197
                                            <th scope="row">Classification</th>
198
                                            <td> [% BIBLIO_RESULT.classification | html %]</td>
199
                                        </tr>
200
                                    [% END %]
201
202
                                    [% IF ( BIBLIO_RESULT.lccn ) %]
203
                                        <tr>
204
                                            <th scope="row">LCCN</th>
205
                                            <td> [% BIBLIO_RESULT.lccn | html %]</td>
206
                                        </tr>
207
                                    [% END %]
208
209
210
                                    [% IF BIBLIO_RESULT.MARCURLS.size %]
211
                                        <tr>
212
                                            <th scope="row">URL(s)</th>
213
                                            <td>
214
                                               [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %]
215
                                                    [% IF MARCurl.part %]<p>[% MARCurl.part | html %]</p>[% END %]
216
                                                    <a href="[% MARCurl.MARCURL | url %]" title="[% MARCurl.MARCURL | html %]">[% MARCurl.linktext | html %]</a>
217
                                                    [% IF MARCurl.notes %]
218
                                                        [% FOREACH note IN MARCurl.notes %]
219
                                                            <p>[% note.note | html %]</p>
220
                                                        [% END %]
221
                                                    [% END %]
336
                                                    [% END %]
222
                                                [% END %]
223
                                            </td>
224
                                        </tr>
225
                                    [% END %]
226
227
                                    [% IF BIBLIO_RESULT.HOSTITEMENTRIES || BIBLIO_RESULT.HOSTINFO %]
228
                                        <tr>
229
                                            <th scope="row">In</th>
230
                                            <td>
231
                                                [% IF BIBLIO_RESULT.HOSTITEMENTRIES %]
232
                                                    <p>[% INCLUDE 'biblio-title.inc' link = 1 biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | html %]</p>
233
                                                [% ELSE %]
337
                                                [% ELSE %]
234
                                                    <p>[% BIBLIO_RESULT.HOSTINFO | html %]</p>
338
                                                    This record has no items.
235
                                                [% END %]
339
                                                [% END %]
236
                                            </td>
340
                                            </td>
237
                                        </tr>
341
                                        </tr>
238
                                    [% END %]
342
                                    [% END # /FOREACH BIBLIO_RESULT %]
239
240
                                    <tr>
241
                                        <th scope="row">Location(s)</th>
242
                                        <td>
243
                                            [% IF BIBLIO_RESULT.ITEM_RESULTS.count %]
244
                                                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
245
                                                    <p>
246
                                                        [% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]
247
                                                        <span class="shelvingloc">
248
                                                            [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location ) | html %]
249
                                                        </span>
250
                                                        [% IF ( ITEM_RESULT.itemcallnumber ) %]
251
                                                            ([% ITEM_RESULT.itemcallnumber | html %])
252
                                                        [% END %]
253
                                                    </p>
254
                                                [% END %]
255
                                            [% ELSE %]
256
                                                This record has no items.
257
                                            [% END %]
258
                                        </td>
259
                                    </tr>
260
                                </table>
343
                                </table>
261
                            [% END # /FOREACH BIBLIO_RESULT %]
344
                            </div>
262
                        </form> [% # /bookbag_form %]
263
264
                    [% ELSE # IF verbose %]
265
266
                        <form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form">
267
                            [% PROCESS controls %]
268
269
                            <table id="itemst">
270
                                <thead>
271
                                    <tr>
272
                                        <th class="NoSort noprint">&nbsp;</th>
273
                                        <th class="anti-the">Title</th>
274
                                        <th>Item type</th>
275
                                        <th>
276
                                            <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>
277
                                        </th>
278
                                    </tr>
279
                                </thead>
280
281
                                [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
282
                                    <tr>
283
                                        <td class="noprint">
284
                                            <input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber | html %]" name="bib[% BIBLIO_RESULT.biblionumber | html %]" id="bib[% BIBLIO_RESULT.biblionumber | html %]" />
285
                                        </td>
286
                                        <td>
287
                                            [% INCLUDE 'biblio-title.inc' biblio=BIBLIO_RESULT link = 1 %]</a>
288
                                            [% BIBLIO_RESULT.author | html %]
289
                                            <p>
290
                                                [% IF ( BIBLIO_RESULT.publishercode ) %]
291
                                                    - [% BIBLIO_RESULT.publishercode | html %]
292
                                                    [% IF ( BIBLIO_RESULT.place ) %]
293
                                                        [% BIBLIO_RESULT.place | html %]
294
                                                    [% END %]
295
                                                [% END %]
296
                                                [% IF ( BIBLIO_RESULT.pages ) %]
297
                                                    - [% BIBLIO_RESULT.pages | html %]
298
                                                    [% IF ( BIBLIO_RESULT.item('size') ) %]
299
                                                        [% BIBLIO_RESULT.item('size') | html %]
300
                                                    [% END %]
301
                                                [% END %]
302
                                            </p>
303
                                            [% IF ( BIBLIO_RESULT.notes ) %]
304
                                                <p>[% BIBLIO_RESULT.notes | html %]</p>
305
                                            [% END %]
306
                                            [% IF BIBLIO_RESULT.HOSTITEMENTRIES || BIBLIO_RESULT.HOSTINFO %]
307
                                                <p>In:
308
                                                [% IF BIBLIO_RESULT.HOSTITEMENTRIES %]
309
                                                    [% INCLUDE 'biblio-title.inc' link = 1 biblio=BIBLIO_RESULT.HOSTITEMENTRIES %] [% BIBLIO_RESULT.RELATEDPARTS | html %]
310
                                                [% ELSE %]
311
                                                    [% BIBLIO_RESULT.HOSTINFO | html %]
312
                                                [% END %]
313
                                                </p>
314
                                            [% END %]
315
                                            <!-- COinS / Openurl -->
316
                                            <span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=[% BIBLIO_RESULT.author | html %]&amp;rft.btitle=[% BIBLIO_RESULT.title |url %]&amp;rft.date=[% BIBLIO_RESULT.publicationyear | html %]&amp;rft.tpages=[% BIBLIO_RESULT.item('size') | html %]&amp;rft.isbn=[% BIBLIO_RESULT.isbn |url %]&amp;rft.aucorp=&amp;rft.place=[% BIBLIO_RESULT.place | html %]&amp;rft.pub=[% BIBLIO_RESULT.publisher |url %]&amp;rft.edition=[% BIBLIO_RESULT.edition | html %]&amp;rft.series=[% BIBLIO_RESULT.series | html %]&amp;rft.genre="></span>
317
                                        </td>
318
                                        <td>[% BIBLIO_RESULT.description | html %]</td>
319
                                        <td class="callnumbers">
320
                                            [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
321
                                                [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
322
                                                    <div>
323
                                                        <span class="nowrap">
324
                                                            <strong>
325
                                                                <span class="callnumber">[% ITEM_RESULT.itemcallnumber | html %]</span>
326
                                                            </strong>
327
                                                            [% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]
328
                                                            <span class="shelvingloc">
329
                                                                [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => ITEM_RESULT.location ) | html %]
330
                                                            </span>
331
                                                        </span>
332
                                                    </div>
333
                                                [% END %]
334
                                            [% ELSE %]
335
                                                This record has no items.
336
                                            [% END %]
337
                                        </td>
338
                                    </tr>
339
                                [% END # /FOREACH BIBLIO_RESULT %]
340
                            </table>
341
                        </form>
345
                        </form>
342
                    [% END # /IF verbose %]
346
                    [% END # /IF verbose %]
343
347
344
- 

Return to bug 34872