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

(-)a/koha-tmpl/opac-tmpl/prog/en/css/mobile.css (+620 lines)
Line 0 Link Here
1
/*
2
    Mobile stylesheet
3
    Frédérick Capovilla, 2012 - Libéo
4
*/
5
6
/* Hidden elements */
7
8
body#opac-main #login,
9
body#opac-main #login~div,
10
body#opac-main #opacnav,
11
body#opac-main #news,
12
body#results #facetcontainer,
13
body#opac-detail #ulactioncontainer>:not(#action),
14
body#opac-detail #ulactioncontainer #action a:not(.reserve),
15
body#opac-detail #shelfbrowser,
16
body#opac-detail #views,
17
body#opac-detail div#bibliodescriptions>ul>li:nth-of-type(n+3),
18
body#results #userresults .pages:nth-of-type(1),
19
body#results #userresults>br,
20
body#results td.select.selectcol,
21
body#results span.results_summary.actions>:not(.hold),
22
body#results span.addto,
23
body#results span#placehold,
24
body#results span.checkall,
25
body#results span.clearall,
26
body#results .searchresults td.resultscontrol,
27
body#advsearch form div.yui-g:nth-last-of-type(-n+4),
28
body#opac-readingrecord ul.ui-tabs-nav li,
29
body#opac-login-page #opac-main-search div#libraryname,
30
#leftmenus>:not(#menu),
31
#top-bar #menu-left,
32
#members>ul>li:nth-child(2),
33
#moresearches,
34
#breadcrumbs>p:nth-of-type(1),
35
#main_footer .colleft,
36
#opac-main-search a.logo {
37
    display:none !important;
38
}
39
40
41
/* General */
42
43
body{
44
    min-width: 100px;
45
}
46
47
#doc, #doc2, #doc3, #doc4, .yui-t1, .yui-t2, .yui-t3, .yui-t4, .yui-t5, .yui-t6, .yui-t7 {
48
    min-width: 100px;
49
}
50
51
.yui-ge div.first, .yui-gf .yui-g, .yui-gf .yui-u{
52
    width: 100%;
53
}
54
55
#bd:after, .yui-g:after, .yui-gb:after, .yui-gc:after, .yui-gd:after, .yui-ge:after, .yui-gf:after {
56
    content: "";
57
}
58
59
#container{
60
    border-radius: 0;
61
    margin: 0;
62
    padding: 0;
63
    padding-bottom: 10px;
64
    border: 0;
65
}
66
67
#container #ctn_lt {
68
    padding: 0 10px;
69
    padding-left: auto;
70
}
71
72
#doc3{
73
    margin: 0;
74
    width: 100%;
75
}
76
77
#opac-main-search {
78
    margin: 0 !important;
79
    padding: 0;
80
}
81
82
#main_footer{
83
    margin-bottom: 0;
84
}
85
86
#yui-main .yui-b {
87
    margin: 0 !important;
88
}
89
90
#breadcrumbs{
91
    margin: 0 !important;
92
    padding: 0 !important;
93
}
94
95
body#results #breadcrumbs>*{
96
    padding: 20px !important;
97
}
98
99
100
/* Main */
101
102
body#opac-main #opacmainuserblock {
103
    padding: 0
104
}
105
106
body#opac-main #container #ctn_lt{
107
    padding: 15px;
108
}
109
110
111
/* Results */
112
113
body#results div#userresults {
114
    padding: 0;
115
    border: 0;
116
}
117
118
body#results .yui-t1 #yui-main .yui-b {
119
    margin: 0;
120
}
121
122
body#results #container #ctn_lt{
123
    padding: 0;
124
}
125
126
body#results .searchresults td.resultscontrol{
127
    border-radius: 0;
128
}
129
130
body#results .searchresults .resort{
131
    width: 50%;
132
    float:right;
133
}
134
135
body#results .searchresults #sort_by{
136
    width: 100%;
137
}
138
139
body#results .searchresults .cartlist{
140
    width:50%;
141
}
142
143
body#results .results_summary.actions .hold {
144
    font-size: 140%;
145
    font-weight: bold;
146
    margin-left: 0;
147
}
148
149
150
/* Cancel highlighting */
151
152
a .term {
153
    text-decoration: inherit;
154
}
155
156
.term {
157
    background-color: inherit;
158
    color: inherit;
159
}
160
161
162
/* Details */
163
164
body#opac-detail #ctn_lt,
165
body#opac-marcdetail #ctn_lt,
166
body#opac-isbddetail #ctn_lt{
167
    margin: 10px;
168
    padding: 0;
169
}
170
171
body#opac-detail #opac-detail-yui-ge {
172
    padding-top: 15px;
173
}
174
175
#views>span {
176
    display:block;
177
}
178
179
body#opac-detail #ulactioncontainer{
180
    position: absolute;
181
    top: 0;
182
    right: 0;
183
}
184
185
body#opac-detail #container {
186
    position: relative;
187
}
188
189
body#opac-detail #ulactioncontainer ul{
190
    margin-top: 0;
191
    padding: 5px;
192
}
193
194
body#opac-detail #ulactioncontainer li{
195
    margin: 0;
196
    padding: 0;
197
}
198
199
/* Logo in the footer */
200
201
#opac-main-search div#libraryname {
202
    display: block;
203
    position: absolute;
204
    bottom: -116px;
205
    left: 0;
206
    padding: 0 20px;
207
}
208
209
#opac-main-search div#libraryname img {
210
    display: block;
211
}
212
213
#doc3{
214
    position: relative;
215
}
216
217
#main_footer {
218
    padding-top: 29px;
219
}
220
221
#main_footer .colright,
222
#main_footer .colleft{
223
    float: none;
224
}
225
226
#main_footer .colright .koha{
227
    float: right;
228
    overflow: hidden;
229
    text-indent: -5000em;
230
    width: 92px;
231
    height: 80px;
232
    background-position: center;
233
}
234
235
236
/* Login bar */
237
238
div#top-bar {
239
    display: block;
240
    position: absolute;
241
    left: 0;
242
    bottom: -29px;
243
    top: auto;
244
    overflow: hidden;
245
    z-index: auto;
246
}
247
248
#members ul{
249
    margin: 0;
250
}
251
252
253
/* Search bar */
254
255
form#searchform {
256
    border-radius: 0;
257
    padding-top: 50px;
258
}
259
260
form.single-library #filters .jqTransformSelectWrapper {
261
    position: relative;
262
    width: 100% !important;
263
    left: 0;
264
    top: 0;
265
    border-radius: 3px;
266
}
267
268
form.multi-libraries #filters .jqTransformSelectWrapper{
269
    position: relative;
270
    width: 49% !important;
271
    float: left;
272
    top: 0px;
273
    left: 0px;
274
    border-radius: 3px;
275
}
276
277
form.multi-libraries #libraries .jqTransformSelectWrapper{
278
    position: relative;
279
    width: 49% !important;
280
    float: right;
281
    top: 0px;
282
    left: 0px;
283
    border-radius: 3px;
284
}
285
286
form.multi-libraries .input-wrapper{
287
    margin: 0;
288
}
289
290
form#searchform .input-wrapper input[type="text"]{
291
    -webkit-box-sizing: border-box;
292
    -moz-box-sizing: border-box;
293
    box-sizing: border-box;
294
    border-radius: 3px;
295
}
296
297
form#searchform .input-wrapper{
298
    -webkit-box-sizing: border-box;
299
    -moz-box-sizing: border-box;
300
    box-sizing: border-box;
301
    position: absolute;
302
    top: 15px;
303
    left: 0;
304
    width: 100%;
305
    padding: 0 10px;
306
    padding-right: 46px;
307
}
308
309
form#searchform input[type="submit"]{
310
    position: absolute;
311
    border-radius: 0;
312
    top: 15px;
313
    right: 10px;
314
}
315
316
.jqTransformSelectWrapper{
317
    margin: 0;
318
}
319
320
.jqTransformSelectWrapper div{
321
    overflow: hidden;
322
}
323
324
.jqTransformSelectWrapper div span{
325
    white-space:nowrap;
326
}
327
328
.jqTransformSelectWrapper div a{
329
    border-left: 5px solid #FFF;
330
    border-right: 5px solid #FFF;
331
    background-color: white;
332
    box-shadow: -3px 0 5px #FFF;
333
    right: 0px;
334
    border-radius: 8px;
335
}
336
337
.jqTransformSelectWrapper ul li a{
338
    padding: 10px 0;
339
}
340
341
#opac-main-search #fluid {
342
    display: block;
343
}
344
345
346
/* Login screen */
347
348
#holds, #opac-auth {
349
    min-width: 0;
350
    width: auto;
351
}
352
353
354
/* User */
355
356
body#opac-user .yui-b,
357
body#opac-passwd .yui-b,
358
body#opac-search-history .yui-b,
359
body#opac-readingrecord .yui-b,
360
body#opac-userupdate .yui-b,
361
body#opac-account .yui-b{
362
    width: auto;
363
    float: none;
364
}
365
366
body#opac-user #yui-main ,
367
body#opac-passwd #yui-main ,
368
body#opac-search-history #yui-main ,
369
body#opac-readingrecord #yui-main ,
370
body#opac-userupdate #yui-main ,
371
body#opac-account #yui-main {
372
    float: none;
373
    margin: 0;
374
}
375
376
body#opac-userupdate .yui-g .yui-u{
377
    width: 100%;
378
}
379
380
body#opac-passwd fieldset,
381
body#opac-userupdate fieldset{
382
    margin: 1em 0;
383
}
384
385
.renewals {
386
    display: inline;
387
}
388
389
390
/* Tables */
391
392
body#opac-user #checkoutst td.links,
393
body#opac-user thead,
394
body#opac-holds div:not(.calendar) table>tbody>tr:nth-child(1),
395
body#opac-readingrecord #readingrec tr:nth-child(1),
396
body#opac-detail #holdingst thead,
397
body#opac-detail #holdingst td.call_no a{
398
    display: none !important;
399
}
400
401
body#opac-detail table#holdingst,
402
body#opac-readingrecord table,
403
body#opac-holds div:not(.calendar) table,
404
body#opac-user table#holdst,
405
body#opac-user table#checkoutst{
406
    border-right: none;
407
    border-top: none;
408
    border: none;
409
    counter-reset: item;
410
}
411
412
body#opac-detail #holdingst tr,
413
body#opac-readingrecord tr,
414
body#opac-holds div:not(.calendar) tr,
415
body#opac-user #holdst tr,
416
body#opac-user #checkoutst tr{
417
    border: none;
418
    display: block;
419
    position: relative;
420
    margin-left: 10px;
421
    margin-bottom: 10px;
422
}
423
424
body#opac-detail #holdingst td,
425
body#opac-readingrecord td,
426
body#opac-holds div:not(.calendar) td,
427
body#opac-user #holdst td,
428
body#opac-user #checkoutst td{
429
    display: block;
430
    border: 1px solid #DDD;
431
    position: relative;
432
}
433
434
body#opac-user #checkoutst caption {
435
    display: block;
436
}
437
438
body#opac-detail #holdingst tr:before,
439
body#opac-readingrecord tr:before,
440
body#opac-holds div:not(.calendar) tr:not(.copiesrow):before,
441
body#opac-user #holdst tr:before,
442
body#opac-user #checkoutst tr:before {
443
    font-weight: bold;
444
    content: counter(item) ". ";
445
    counter-increment: item;
446
    display: block;
447
    position: absolute;
448
    left: -13px;
449
    top: 4px;
450
}
451
452
body#opac-detail #holdingst td:before,
453
body#opac-readingrecord td:before,
454
body#opac-holds div:not(.calendar) td:before,
455
body#opac-user #holdst td:before,
456
body#opac-user #checkoutst td:before {
457
    font-weight: bold;
458
}
459
460
body#opac-detail #holdingst td.itype:before {content: "Item type : ";}
461
body#opac-detail #holdingst td.location:before {content: "Location : ";}
462
body#opac-detail #holdingst td.collection:before {content: "Collection : ";}
463
body#opac-detail #holdingst td.call_no:before {content: "Call Number : ";}
464
body#opac-detail #holdingst td.vol_info:before {content: "Vol Info : ";}
465
body#opac-detail #holdingst td.url:before {content: "URL : ";}
466
body#opac-detail #holdingst td.copynumber:before {content: "Copy Number : ";}
467
body#opac-detail #holdingst td.status:before {content: "Status : ";}
468
body#opac-detail #holdingst td.notes:before {content: "Notes : ";}
469
body#opac-detail #holdingst td.date_due:before {content: "Date Due : ";}
470
471
body#opac-user #checkoutst td.date_due:before {content: "Date due : ";}
472
body#opac-user #checkoutst td.call_no:before {content: "Call No. : ";}
473
body#opac-user #checkoutst td.fines:before {content: "Fines : ";}
474
475
body#opac-user #holdst td.reservedate:before {content: "Placed On : ";}
476
body#opac-user #holdst td.expirationdate:before {content: "Expires On : ";}
477
body#opac-user #holdst td.branch:before {content: "Pick Up Location : ";}
478
body#opac-user #holdst td.priority:before {content: "Priority : ";}
479
body#opac-user #holdst td.status:before {content: "Status : ";}
480
481
body#opac-readingrecord #readingrec td:nth-child(3):before {content: "Item Type : ";}
482
body#opac-readingrecord #readingrec td:nth-child(4):before {content: "Call No. : ";}
483
body#opac-readingrecord #readingrec td:nth-child(5):before {content: "Date : ";}
484
485
body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.hold:before {content: "Hold : ";}
486
body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.itype:before {content: "Item Type : ";}
487
body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.priority:before {content: "Priority : ";}
488
body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.reserve_date:before {content: "Hold Starts On Date : ";}
489
body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.expiration_date:before {content: "Hold Not Needed After : ";}
490
body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.place_on_type:before {content: "Place On : ";}
491
body#opac-holds #bibitemloop>tbody>tr:not(.copiesrow) td.branch:before {content: "Pickup Location : ";}
492
493
body#opac-holds #bibitemloop table td.copy:before {content: "Copy : ";}
494
body#opac-holds #bibitemloop table td.itype:before {content: "Item Type : ";}
495
body#opac-holds #bibitemloop table td.barcode:before {content: "Barcode : ";}
496
body#opac-holds #bibitemloop table td.homebranch:before {content: "Home Library : ";}
497
body#opac-holds #bibitemloop table td.holdingbranch:before {content: "Last Location : ";}
498
body#opac-holds #bibitemloop table td.call_no:before {content: "Call Number : ";}
499
body#opac-holds #bibitemloop table td.vol_info:before {content: "Vol Info : ";}
500
body#opac-holds #bibitemloop table td.information:before {content: "Information : ";}
501
502
503
/* Holds */
504
505
body#opac-holds tr.copiesrow {
506
    margin-left: 25px;
507
}
508
509
body#opac-holds tr.copiesrow>td:nth-child(1) {
510
    display: none;
511
}
512
513
body#opac-holds #bibitemloop tr {
514
    margin-bottom: 0;
515
}
516
517
518
/* User Fines table */
519
520
body#opac-account #useraccount th:nth-child(3),
521
body#opac-account #useraccount td:nth-child(3) {
522
    display: none !important;
523
}
524
525
body#opac-account #useraccount table {
526
    position: relative;
527
    margin-bottom: 50px;
528
}
529
530
body#opac-account #useraccount tfoot {
531
    display: block;
532
    position: absolute;
533
    bottom: 0;
534
    right: 0;
535
    bottom: -23px;
536
}
537
538
body#opac-account #useraccount thead th {
539
    padding: 2px 10px;
540
}
541
542
body#opac-account #useraccount tbody td:nth-child(1) {
543
    min-width: 70px;
544
}
545
546
body#opac-account #useraccount tbody td:nth-child(4) {
547
    text-align: right;
548
}
549
550
body#opac-account #useraccount tfoot th {
551
    display: none;
552
}
553
554
body#opac-account #useraccount tfoot td {
555
    border-right: 1px solid #DDD;
556
}
557
558
body#opac-account #useraccount tfoot td:before {
559
    content: "Total due : "
560
}
561
562
563
/* User menu */
564
565
#leftmenus>#menu ul li.messaging,
566
#leftmenus>#menu ul li.suggestions,
567
#leftmenus>#menu ul li.privateshelves,
568
#leftmenus>#menu {
569
    display: none;
570
}
571
572
.mobile_only {
573
    display: block;
574
}
575
576
body.mobile_menu form#searchform .input-wrapper{
577
    padding-left: 90px;
578
}
579
580
body.mobile_menu_opened #doc3>div,
581
body.mobile_menu_opened #main_footer>div {
582
    position: relative;
583
    left: 200px;
584
}
585
586
body.mobile_menu_opened #main_footer {
587
    display: none;
588
}
589
590
body.mobile_menu_opened #doc3 {
591
    overflow: hidden;
592
    min-height: 380px;
593
}
594
595
body.mobile_menu_opened #ctn_rb>.ctn_in>.yui-b {
596
    position: static;
597
}
598
599
body.mobile_menu_opened #leftmenus>#menu {
600
    display: block;
601
    position: absolute;
602
    width: 200px;
603
    height: 100%;
604
    top: 0;
605
    left: -201px;
606
    padding: 0;
607
    z-index: 999;
608
}
609
610
#mobile_menu_button {
611
    position: absolute;
612
    cursor: pointer;
613
    background: url(../../images/mobile-menu-button.png) no-repeat scroll 50% 50%;
614
    border: 0px;
615
    font-size: 0;
616
    width: 76px;
617
    height: 38px;
618
    top: 13px;
619
    left: 6px;
620
}
(-)a/koha-tmpl/opac-tmpl/prog/en/css/opac.css (+4 lines)
Lines 2520-2522 span.sep { Link Here
2520
}
2520
}
2521
2521
2522
*/
2522
*/
2523
2524
.mobile_only {
2525
   display : none;
2526
}
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc (+2 lines)
Lines 15-20 Link Here
15
[% END %]
15
[% END %]
16
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" />
16
<link rel="stylesheet" type="text/css" media="print" href="[% themelang %]/css/print.css" />
17
<link rel="stylesheet" type="text/css" href="[% themelang %]/lib/jquery/plugins/ui.tabs.css" />
17
<link rel="stylesheet" type="text/css" href="[% themelang %]/lib/jquery/plugins/ui.tabs.css" />
18
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
19
<link rel="stylesheet" type="text/css" media="screen and (max-width:700px)" href="[% themelang %]/css/mobile.css" />
18
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
20
[% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %]
19
<!-- yui js --> 
21
<!-- yui js --> 
20
<script type="text/javascript" src="[% yuipath %]/utilities/utilities.js"></script> 
22
<script type="text/javascript" src="[% yuipath %]/utilities/utilities.js"></script> 
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/usermenu.inc (-3 / +3 lines)
Lines 23-36 Link Here
23
  [% END %]
23
  [% END %]
24
  [% IF ( suggestion ) %]
24
  [% IF ( suggestion ) %]
25
    [% UNLESS ( AnonSuggestions ) %]
25
    [% UNLESS ( AnonSuggestions ) %]
26
      [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/opac-suggestions.pl">my purchase suggestions</a></li>
26
      [% IF ( suggestionsview ) %]<li class="active suggestions">[% ELSE %]<li class="suggestions">[% END %]<a href="/cgi-bin/koha/opac-suggestions.pl">my purchase suggestions</a></li>
27
    [% END %]
27
    [% END %]
28
  [% END %]
28
  [% END %]
29
  [% IF ( EnhancedMessagingPreferences ) %]
29
  [% IF ( EnhancedMessagingPreferences ) %]
30
    [% IF ( messagingview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/opac-messaging.pl">my messaging</a></li>
30
    [% IF ( messagingview ) %]<li class="active messaging">[% ELSE %]<li class="messaging">[% END %]<a href="/cgi-bin/koha/opac-messaging.pl">my messaging</a></li>
31
  [% END %]
31
  [% END %]
32
  [% IF ( virtualshelves ) %] 
32
  [% IF ( virtualshelves ) %] 
33
  [% IF ( listsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">my lists</a></li>
33
  [% IF ( listsview ) %]<li class="active privateshelves">[% ELSE %]<li class="privateshelves">[% END %]<a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">my lists</a></li>
34
  [% END %]
34
  [% END %]
35
35
36
</ul>
36
</ul>
(-)a/koha-tmpl/opac-tmpl/prog/en/js/script.js (+18 lines)
Lines 24-29 $(document).ready(function(){ Link Here
24
			return true;
24
			return true;
25
		}
25
		}
26
	});
26
	});
27
28
29
	// Add the mobile menu button if we are in some sections of the opac
30
	if($('body#opac-user, body#opac-passwd, body#opac-search-history, body#opac-readingrecord, body#opac-userupdate, body#opac-usersuggestions, body#opac-account, body#opac-privacy, body#opac-usertags').length != 0) {
31
		$('body').addClass('mobile_menu');
32
33
		var button = $('<input type="button" id="mobile_menu_button" value="">').addClass('mobile_only');
34
		$('#searchform').append(button);
35
36
		button.click(function() {
37
			if($('body').hasClass('mobile_menu_opened')){
38
				$('body').removeClass('mobile_menu_opened');
39
			}
40
			else {
41
				$('body').addClass('mobile_menu_opened');
42
			}
43
		});
44
	}
27
});
45
});
28
46
29
// build Change Language menus
47
// build Change Language menus
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-10 / +10 lines)
Lines 720-727 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
720
            <th id="item_datedue">Date due</th>
720
            <th id="item_datedue">Date due</th>
721
        </tr></thead>
721
        </tr></thead>
722
	    <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
722
	    <tbody>[% FOREACH ITEM_RESULT IN ITEM_RESULTS %]
723
	    <tr>[% IF ( item_level_itypes ) %]<td>[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %]
723
	    <tr>[% IF ( item_level_itypes ) %]<td class="itype">[% UNLESS ( noItemTypeImages ) %][% IF ( ITEM_RESULT.imageurl ) %]<img src="[% ITEM_RESULT.imageurl %]" title="[% ITEM_RESULT.description %]" alt="[% ITEM_RESULT.description %]" />[% END %][% END %] [% ITEM_RESULT.description %]</td>[% END %]
724
		<td>
724
		<td class="location">
725
    [% UNLESS ( singleBranchMode ) %]
725
    [% UNLESS ( singleBranchMode ) %]
726
        <span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
726
        <span class="[% ITEM_RESULT.branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]">
727
        [% IF ( ITEM_RESULT.branchurl ) %]
727
        [% IF ( ITEM_RESULT.branchurl ) %]
Lines 734-747 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
734
    [% END %]
734
    [% END %]
735
    <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
735
    <span class="shelvingloc">[% ITEM_RESULT.location_description %]</span>
736
    </td>
736
    </td>
737
		[% IF ( itemdata_ccode ) %]<td>[% ITEM_RESULT.ccode %]</td>[% END %]
737
		[% IF ( itemdata_ccode ) %]<td class="collection">[% ITEM_RESULT.ccode %]</td>[% END %]
738
        <td>[% IF ( ITEM_RESULT.itemcallnumber ) %] [% ITEM_RESULT.itemcallnumber %][% IF ( OPACShelfBrowser ) %] (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#shelfbrowser">Browse shelf</a>)[% END %][% END %]</td>
738
        <td class="call_no">[% IF ( ITEM_RESULT.itemcallnumber ) %] [% ITEM_RESULT.itemcallnumber %][% IF ( OPACShelfBrowser ) %] (<a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&amp;shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#shelfbrowser">Browse shelf</a>)[% END %][% END %]</td>
739
		[% IF ( itemdata_enumchron ) %]<td>[% ITEM_RESULT.enumchron %]</td>[% END %]
739
		[% IF ( itemdata_enumchron ) %]<td class="vol_info">[% ITEM_RESULT.enumchron %]</td>[% END %]
740
		[% IF ( itemdata_uri ) %]<td><a href="[% ITEM_RESULT.uri %]">[% ITEM_RESULT.uri %]</a></td>[% END %]
740
		[% IF ( itemdata_uri ) %]<td class="url"><a href="[% ITEM_RESULT.uri %]">[% ITEM_RESULT.uri %]</a></td>[% END %]
741
		[% IF ( itemdata_copynumber ) %]<td>[% ITEM_RESULT.copynumber %]</td>[% END %]
741
		[% IF ( itemdata_copynumber ) %]<td class="copynumber">[% ITEM_RESULT.copynumber %]</td>[% END %]
742
		<td>[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
742
		<td class="status">[% INCLUDE 'item-status.inc' item = ITEM_RESULT %]</td>
743
		[% IF ( itemdata_itemnotes ) %]<td>[% ITEM_RESULT.itemnotes %]</td>[% END %]
743
		[% IF ( itemdata_itemnotes ) %]<td class="notes">[% ITEM_RESULT.itemnotes %]</td>[% END %]
744
		<td>[% ITEM_RESULT.datedue | $KohaDates %]</td>
744
		<td class="date_due">[% ITEM_RESULT.datedue | $KohaDates %]</td>
745
	    </tr>
745
	    </tr>
746
	    [% END %]</tbody>
746
	    [% END %]</tbody>
747
	</table>
747
	</table>
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt (-16 / +16 lines)
Lines 262-268 Link Here
262
                [% FOREACH bibitemloo IN bibitemloop %]
262
                [% FOREACH bibitemloo IN bibitemloop %]
263
                  <tr>
263
                  <tr>
264
                      [% IF ( bibitemloo.holdable ) %]
264
                      [% IF ( bibitemloo.holdable ) %]
265
					  <td>
265
					  <td class="hold">
266
                      <input class="reserve_mode" name="reserve_mode" type="hidden" value="single"/>
266
                      <input class="reserve_mode" name="reserve_mode" type="hidden" value="single"/>
267
                      <input class="single_bib" name="single_bib" type="hidden" value="[% bibitemloo.biblionumber %]"/>
267
                      <input class="single_bib" name="single_bib" type="hidden" value="[% bibitemloo.biblionumber %]"/>
268
                        <span class="confirmjs_hold" title="[% bibitemloo.biblionumber %]"></span>
268
                        <span class="confirmjs_hold" title="[% bibitemloo.biblionumber %]"></span>
Lines 275-283 Link Here
275
                        </span>
275
                        </span>
276
					</td>
276
					</td>
277
                      [% ELSE %]
277
                      [% ELSE %]
278
					  [% UNLESS ( none_available ) %]<td>&nbsp;</td>[% END %]
278
					  [% UNLESS ( none_available ) %]<td class="hold">&nbsp;</td>[% END %]
279
                      [% END %]
279
                      [% END %]
280
                    [% IF ( bibitemloo.holdable ) %]<td>[% ELSE %]<td colspan="5">[% END %]
280
                    [% IF ( bibitemloo.holdable ) %]<td class="title">[% ELSE %]<td class="title" colspan="5">[% END %]
281
                      <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber %]">[% bibitemloo.title |html %][% IF ( bibitemloo.subtitle ) %] [% FOREACH subtitl IN bibitemloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
281
                      <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% bibitemloo.biblionumber %]">[% bibitemloo.title |html %][% IF ( bibitemloo.subtitle ) %] [% FOREACH subtitl IN bibitemloo.subtitle %][% subtitl.subfield %][% END %][% END %]</a>
282
                      [% IF ( bibitemloo.author ) %],  by [% bibitemloo.author %][% END %]
282
                      [% IF ( bibitemloo.author ) %],  by [% bibitemloo.author %][% END %]
283
283
Lines 298-315 Link Here
298
298
299
                    </td>
299
                    </td>
300
                    [% IF ( bibitemloo.holdable ) %][% UNLESS ( item_level_itypes ) %]
300
                    [% IF ( bibitemloo.holdable ) %][% UNLESS ( item_level_itypes ) %]
301
                                          <td>
301
                                          <td class="itype">
302
                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
302
                                            [% IF ( bibitemloo.imageurl ) %]<img src="[% bibitemloo.imageurl %]" alt="" />[% END %]
303
                                [% bibitemloo.description %]
303
                                [% bibitemloo.description %]
304
                                          </td>
304
                                          </td>
305
                                        [% END %][% END %]
305
                                        [% END %][% END %]
306
                    [% IF ( bibitemloo.holdable ) %]
306
                    [% IF ( bibitemloo.holdable ) %]
307
                    [% IF ( showpriority ) %]
307
                    [% IF ( showpriority ) %]
308
                    <td>
308
                    <td class="priority">
309
                    [% bibitemloo.rank %] out of [% bibitemloo.reservecount %]
309
                    [% bibitemloo.rank %] out of [% bibitemloo.reservecount %]
310
                    </td>[% END %][% END %]
310
                    </td>[% END %][% END %]
311
		    [% IF ( reserve_in_future ) %]
311
		    [% IF ( reserve_in_future ) %]
312
		    [% IF ( bibitemloo.holdable ) %]<td>
312
		    [% IF ( bibitemloo.holdable ) %]<td class="reserve_date">
313
              <input name="reserve_date_[% bibitemloo.biblionumber %]" id="reserve_date_[% bibitemloo.biblionumber %]" size="10">
313
              <input name="reserve_date_[% bibitemloo.biblionumber %]" id="reserve_date_[% bibitemloo.biblionumber %]" size="10">
314
              <script language="JavaScript" type="text/javascript">
314
              <script language="JavaScript" type="text/javascript">
315
              //<![CDATA[
315
              //<![CDATA[
Lines 351-357 Link Here
351
                </td>[% END %]
351
                </td>[% END %]
352
352
353
		    [% END %]
353
		    [% END %]
354
	[% IF ( bibitemloo.holdable ) %]<td>
354
	[% IF ( bibitemloo.holdable ) %]<td class="expiration_date">
355
        <input name="expiration_date_[% bibitemloo.biblionumber %]" id="expiration_date_[% bibitemloo.biblionumber %]" size="10" readonly="readonly" />
355
        <input name="expiration_date_[% bibitemloo.biblionumber %]" id="expiration_date_[% bibitemloo.biblionumber %]" size="10" readonly="readonly" />
356
        <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarExpirationDate_[% bibitemloo.biblionumber %]" style="cursor: pointer;" />
356
        <img src="[% themelang %]/lib/calendar/cal.gif" alt="Show Calendar" border="0" id="CalendarExpirationDate_[% bibitemloo.biblionumber %]" style="cursor: pointer;" />
357
        <script language="JavaScript" type="text/javascript">
357
        <script language="JavaScript" type="text/javascript">
Lines 431-437 Link Here
431
                    [% UNLESS ( singleBranchMode ) %]
431
                    [% UNLESS ( singleBranchMode ) %]
432
                        [% IF ( bibitemloo.holdable ) %]
432
                        [% IF ( bibitemloo.holdable ) %]
433
			    [% IF ( choose_branch ) %]
433
			    [% IF ( choose_branch ) %]
434
			                   <td>
434
			                   <td class="branch">
435
                         [% UNLESS ( bibitemloo.holdable ) %]
435
                         [% UNLESS ( bibitemloo.holdable ) %]
436
                            <select name="branch" id="branch_[% bibitemloo.biblionumber %]" disabled="disabled">
436
                            <select name="branch" id="branch_[% bibitemloo.biblionumber %]" disabled="disabled">
437
                              [% FOREACH branchChoicesLoo IN bibitemloo.branchChoicesLoop %]
437
                              [% FOREACH branchChoicesLoo IN bibitemloo.branchChoicesLoop %]
Lines 485-491 Link Here
485
485
486
                          [% FOREACH itemLoo IN bibitemloo.itemLoop %]
486
                          [% FOREACH itemLoo IN bibitemloo.itemLoop %]
487
                            <tr class="[% itemLoo.backgroundcolor %]">
487
                            <tr class="[% itemLoo.backgroundcolor %]">
488
                              <td>
488
                              <td class="copy">
489
                                [% IF ( itemLoo.available ) %]
489
                                [% IF ( itemLoo.available ) %]
490
                                  <input type="radio" class="checkitem checkitem_[% bibitemloo.biblionumber %]" name="checkitem_[% bibitemloo.biblionumber %]"
490
                                  <input type="radio" class="checkitem checkitem_[% bibitemloo.biblionumber %]" name="checkitem_[% bibitemloo.biblionumber %]"
491
                                         value="[% itemLoo.itemnumber %]" />
491
                                         value="[% itemLoo.itemnumber %]" />
Lines 495-517 Link Here
495
                                [% END %] [% IF ( itemLoo.copynumber ) %][% itemLoo.copynumber %][% END %]
495
                                [% END %] [% IF ( itemLoo.copynumber ) %][% itemLoo.copynumber %][% END %]
496
                              </td>
496
                              </td>
497
                              [% IF ( item_level_itypes ) %]
497
                              [% IF ( item_level_itypes ) %]
498
                                <td>
498
                                <td class="itype">
499
                                  [% UNLESS ( noItemTypeImages ) %]
499
                                  [% UNLESS ( noItemTypeImages ) %]
500
                                  [% IF ( itemLoo.imageurl ) %]<img src="[% itemLoo.imageurl %]" alt="" />[% END %]
500
                                  [% IF ( itemLoo.imageurl ) %]<img src="[% itemLoo.imageurl %]" alt="" />[% END %]
501
                                  [% END %]
501
                                  [% END %]
502
								[% itemLoo.description %]
502
								[% itemLoo.description %]
503
                                </td>
503
                                </td>
504
                              [% END %]
504
                              [% END %]
505
                              <td>[% itemLoo.barcode %]</td>
505
                              <td class="barcode">[% itemLoo.barcode %]</td>
506
                              [% UNLESS ( singleBranchMode ) %]
506
                              [% UNLESS ( singleBranchMode ) %]
507
                                <td>[% itemLoo.homeBranchName %]</td>
507
                                <td class="homebranch">[% itemLoo.homeBranchName %]</td>
508
                                <td>[% itemLoo.holdingBranchName %]</td>
508
                                <td class="holdingbranch">[% itemLoo.holdingBranchName %]</td>
509
                              [% END %]
509
                              [% END %]
510
                              <td>[% itemLoo.callNumber %]</td>
510
                              <td class="call_no">[% itemLoo.callNumber %]</td>
511
                              [% IF ( itemLoo.itemdata_enumchron ) %]<!-- test -->
511
                              [% IF ( itemLoo.itemdata_enumchron ) %]<!-- test -->
512
                                <td>[% itemLoo.enumchron %]</td>
512
                                <td class="vol_info">[% itemLoo.enumchron %]</td>
513
                              [% END %]
513
                              [% END %]
514
                              <td>
514
                              <td class="information">
515
                                [% IF ( itemLoo.dateDue ) %]
515
                                [% IF ( itemLoo.dateDue ) %]
516
                                  <span class="checkedout">Due [% itemLoo.dateDue %]</span>
516
                                  <span class="checkedout">Due [% itemLoo.dateDue %]</span>
517
                                [% ELSIF ( itemLoo.transfertwhen ) %]
517
                                [% ELSIF ( itemLoo.transfertwhen ) %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt (-17 / +16 lines)
Lines 233-260 $.tablesorter.addParser({ Link Here
233
233
234
</td>[% END %]
234
</td>[% END %]
235
235
236
                <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a><span class="item-details">
236
                <td class="title"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a><span class="item-details">
237
                        [% ISSUE.author %]
237
                        [% ISSUE.author %]
238
                    </span></td>
238
                    </span></td>
239
                [% IF ( ISSUE.overdue ) %]
239
                [% IF ( ISSUE.overdue ) %]
240
                    <td class="overdue">[% ISSUE.date_due | $KohaDates %]</td>
240
                    <td class="date_due overdue">[% ISSUE.date_due | $KohaDates %]</td>
241
                [% ELSE %]
241
                [% ELSE %]
242
                    <td>[% ISSUE.date_due | $KohaDates %]</td>
242
                    <td class="date_due">[% ISSUE.date_due | $KohaDates %]</td>
243
                [% END %]
243
                [% END %]
244
                [% UNLESS ( item_level_itypes ) %]<td>[% IF ( ISSUE.imageurl ) %]<img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />[% END %] [% ISSUE.description %]</td>[% END %]
244
                [% UNLESS ( item_level_itypes ) %]<td class="itype">[% IF ( ISSUE.imageurl ) %]<img src="[% ISSUE.imageurl %]" title="[% ISSUE.description %]" alt="[% ISSUE.description %]" />[% END %] [% ISSUE.description %]</td>[% END %]
245
                [% IF ( show_barcode ) %]<td>[% ISSUE.barcode %]</td>[% END %]
245
                [% IF ( show_barcode ) %]<td class="barcode">[% ISSUE.barcode %]</td>[% END %]
246
                <td>[% ISSUE.itemcallnumber %]</td>
246
                <td class="call_no">[% ISSUE.itemcallnumber %]</td>
247
                [% IF ( OpacRenewalAllowed ) %]
247
                [% IF ( OpacRenewalAllowed ) %]
248
                    <td>[% IF ( ISSUE.status ) %][% IF ( canrenew ) %]<input type="checkbox" name="item" value="[% ISSUE.itemnumber %]"/> <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=[% ISSUE.itemnumber %]&amp;borrowernumber=[% ISSUE.borrowernumber %]">Renew</a>[% END %] <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
248
                    <td class="renew">[% IF ( ISSUE.status ) %][% IF ( canrenew ) %]<input type="checkbox" name="item" value="[% ISSUE.itemnumber %]"/> <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=[% ISSUE.itemnumber %]&amp;borrowernumber=[% ISSUE.borrowernumber %]">Renew</a>[% END %] <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
249
                        [% ELSE %]
249
                        [% ELSE %]
250
                        Not renewable[% IF ( ISSUE.too_many ) %] <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>[% ELSE %][% IF ( ISSUE.on_reserve ) %] <span class="renewals">(On hold)</span>[% END %][% END %] 
250
                        Not renewable[% IF ( ISSUE.too_many ) %] <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>[% ELSE %][% IF ( ISSUE.on_reserve ) %] <span class="renewals">(On hold)</span>[% END %][% END %] 
251
                        [% END %]</td>
251
                        [% END %]</td>
252
                [% END %]
252
                [% END %]
253
[% IF ( OPACFinesTab ) %]
253
[% IF ( OPACFinesTab ) %]
254
                <td>[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %]</td>
254
                <td class="fines">[% IF ( ISSUE.charges ) %]Yes[% ELSE %]No[% END %]</td>
255
[% END %]
255
[% END %]
256
            [% IF ( OPACMySummaryHTML ) %]
256
            [% IF ( OPACMySummaryHTML ) %]
257
                <td>[% ISSUE.MySummaryHTML %]</td>
257
                <td class="links">[% ISSUE.MySummaryHTML %]</td>
258
            [% END %]
258
            [% END %]
259
            </tr>
259
            </tr>
260
        [% END %]</tbody>
260
        [% END %]</tbody>
Lines 373-388 $.tablesorter.addParser({ Link Here
373
                    [% ELSE %]
373
                    [% ELSE %]
374
                            <tr>
374
                            <tr>
375
                    [% END %]
375
                    [% END %]
376
                <td><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% RESERVE.reserves_title %]</a>
376
                <td class="title"><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% RESERVE.biblionumber %]">[% RESERVE.reserves_title %]</a>
377
                    [% RESERVE.author %]
377
                    [% RESERVE.author %]
378
                </td>
378
                </td>
379
                <td>[% RESERVE.reservedate | $KohaDates %]</td>
379
                <td class="reservedate">[% RESERVE.reservedate | $KohaDates %]</td>
380
        <td>[% IF ( RESERVE.expirationdate ) %][% RESERVE.expirationdate | $KohaDates %][% ELSE %]Never expires[% END %]</td>
380
        <td class="expirationdate">[% IF ( RESERVE.expirationdate ) %][% RESERVE.expirationdate | $KohaDates %][% ELSE %]Never expires[% END %]</td>
381
                <td>[% RESERVE.branch %]</td>
381
                <td class="branch">[% RESERVE.branch %]</td>
382
				[% IF ( showpriority ) %]
382
				[% IF ( showpriority ) %]
383
				<td>[% RESERVE.priority %] </td>
383
				<td class="priority">[% RESERVE.priority %] </td>
384
				[% END %]
384
				[% END %]
385
                <td>
385
                <td class="status">
386
                    [% IF ( RESERVE.wait ) %]
386
                    [% IF ( RESERVE.wait ) %]
387
                        [% IF ( RESERVE.atdestination ) %]
387
                        [% IF ( RESERVE.atdestination ) %]
388
                            [% IF ( RESERVE.found ) %]
388
                            [% IF ( RESERVE.found ) %]
Lines 405-411 $.tablesorter.addParser({ Link Here
405
                            [% END %]
405
                            [% END %]
406
                    [% END %]
406
                    [% END %]
407
                </td>
407
                </td>
408
		<td>
408
		<td class="modify">
409
		[% IF ( RESERVE.cancelable ) %]
409
		[% IF ( RESERVE.cancelable ) %]
410
			<form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
410
			<form action="/cgi-bin/koha/opac-modrequest.pl" method="post">
411
			<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" />
411
			<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" />
412
- 

Return to bug 8597