Lines 2-7
Link Here
|
2 |
[% USE KohaDates %] |
2 |
[% USE KohaDates %] |
3 |
[% USE Branches %] |
3 |
[% USE Branches %] |
4 |
[% USE JSON.Escape %] |
4 |
[% USE JSON.Escape %] |
|
|
5 |
[% USE Asset %] |
5 |
|
6 |
|
6 |
[%- BLOCK item_status -%] |
7 |
[%- BLOCK item_status -%] |
7 |
[%- SET itemavailable = 1 -%] |
8 |
[%- SET itemavailable = 1 -%] |
Lines 64-73
Link Here
|
64 |
<style type="text/css"> |
65 |
<style type="text/css"> |
65 |
[% Koha.Preference( 'OPACDigitalSignsCSS' ) %] |
66 |
[% Koha.Preference( 'OPACDigitalSignsCSS' ) %] |
66 |
</style> |
67 |
</style> |
67 |
<link rel="stylesheet" href="[% interface %]/lib/jquery/mobile/jquery.mobile.structure.min.css" /> |
68 |
[% Asset.css("lib/jquery/mobile/jquery.mobile.structure.min.css") %] |
68 |
[%- ELSE -%] |
69 |
[%- ELSE -%] |
69 |
<link rel="stylesheet" href="[% interface %]/bootstrap/css/signs.css" /> |
70 |
[% Asset.css("css/signs.css") %] |
70 |
<link rel="stylesheet" href="[% interface %]/lib/jquery/mobile/jquery.mobile.min.css" /> |
71 |
[% Asset.css("lib/jquery/mobile/jquery.mobile.min.css") %] |
71 |
[%- END -%] |
72 |
[%- END -%] |
72 |
[% END # BLOCK cssinclude %] |
73 |
[% END # BLOCK cssinclude %] |
73 |
[% INCLUDE 'doc-head-close.inc' %] |
74 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 436-442
Link Here
|
436 |
} |
437 |
} |
437 |
$carousel_container.append($carousel); |
438 |
$carousel_container.append($carousel); |
438 |
|
439 |
|
439 |
/* initilize carousel on pagecreate */ |
440 |
/* initialize carousel on pagecreate */ |
440 |
$page.on("pagecreate", function(){ |
441 |
$page.on("pagecreate", function(){ |
441 |
var carousel = new Carousel($carousel); |
442 |
var carousel = new Carousel($carousel); |
442 |
$page.data('carousel', carousel); |
443 |
$page.data('carousel', carousel); |
Lines 459-465
Link Here
|
459 |
var item = cover.record.items[i]; |
460 |
var item = cover.record.items[i]; |
460 |
|
461 |
|
461 |
if(item.type) { |
462 |
if(item.type) { |
462 |
$li.append($('<img src="/opac-tmpl/lib/famfamfam/'+item.type+'.png" class="ui-li-icon"/>')); |
463 |
$li.append($('<img src="/[% interface %]/lib/famfamfam/'+item.type+'.png" class="ui-li-icon"/>')); |
463 |
} |
464 |
} |
464 |
var location = item.location_description ? item.location_description + _(" in ") + item.home_branch: item.home_branch; |
465 |
var location = item.location_description ? item.location_description + _(" in ") + item.home_branch: item.home_branch; |
465 |
var item_info = item.status + _(" at ") + location; |
466 |
var item_info = item.status + _(" at ") + location; |
Lines 557-563
Link Here
|
557 |
//]]> |
558 |
//]]> |
558 |
</script> |
559 |
</script> |
559 |
[% END # IF ( sign ) %] |
560 |
[% END # IF ( sign ) %] |
560 |
<script src="/opac-tmpl/lib/jquery/mobile/jquery.mobile.min.js"></script> |
561 |
[% Asset.js("lib/jquery/mobile/jquery.mobile.min.js") %] |
561 |
[% END # BLOCK jsinclude %] |
562 |
[% END # BLOCK jsinclude %] |
562 |
|
563 |
|
563 |
</body> |
564 |
</body> |
564 |
- |
|
|