Lines 35-52
Link Here
|
35 |
<div class="col-10 order-first order-lg-2"> |
35 |
<div class="col-10 order-first order-lg-2"> |
36 |
<h1>My virtual card </h1> |
36 |
<h1>My virtual card </h1> |
37 |
<div id="patron-virtual-card"> |
37 |
<div id="patron-virtual-card"> |
38 |
<div id="image-and-library-container"> |
38 |
[% IF ( display_patron_image ) %] |
39 |
[% IF ( display_patron_image ) %] |
39 |
<div id="image-container"> |
40 |
<div id="image-container"> |
40 |
<img id="patron-image" src="/cgi-bin/koha/opac-patron-image.pl" alt="" /> |
41 |
<img id="patron-image" src="/cgi-bin/koha/opac-patron-image.pl" alt="" /> |
|
|
42 |
</div> |
43 |
[% END %] |
44 |
<div id="barcode-container"> |
45 |
<svg id="patron-barcode" data-barcode="[% patron.cardnumber | html %]"></svg> |
46 |
</div> |
47 |
<div id="lib-container"> |
48 |
<p id="patron-lib"><strong>Library:</strong> [% Branches.GetName( patron.branchcode ) | html %]</p> |
49 |
</div> |
41 |
</div> |
|
|
42 |
[% END %] |
43 |
<div id="barcode-container"> |
44 |
<svg id="patron-barcode" data-barcode="[% patron.cardnumber | html %]" data-barcode-format="[% barcode_format | html %]"></svg> |
45 |
</div> |
46 |
<div id="lib-container"> |
47 |
<p id="patron-lib"><strong>Library:</strong> [% Branches.GetName( patron.branchcode ) | html %]</p> |
50 |
</div> |
48 |
</div> |
51 |
</div> |
49 |
</div> |
52 |
</div> <!-- / .col-10 --> |
50 |
</div> <!-- / .col-10 --> |
Lines 56-61
Link Here
|
56 |
|
54 |
|
57 |
[% INCLUDE 'opac-bottom.inc' %] |
55 |
[% INCLUDE 'opac-bottom.inc' %] |
58 |
[% BLOCK jsinclude %] |
56 |
[% BLOCK jsinclude %] |
59 |
[% Asset.js("lib/js-barcode/js-barcode.js") | $raw %] |
57 |
[% Asset.js("lib/bwip-js/bwip-js-min.js") | $raw %] |
60 |
[% Asset.js("js/barcode-generator.js") | $raw %] |
58 |
[% Asset.js("js/barcode-generator.js") | $raw %] |
61 |
[% END %] |
59 |
[% END %] |