Link Here
|
5 |
[% SET patrongrade = ( patron.has_permission({ 'catalogue' => 1 }) ) ? 'staffgrade' : 'normalgrade' %] |
5 |
[% SET patrongrade = ( patron.has_permission({ 'catalogue' => 1 }) ) ? 'staffgrade' : 'normalgrade' %] |
6 |
<div class="patroninfo [% patrongrade | html %]"> |
6 |
<div class="patroninfo [% patrongrade | html %]"> |
7 |
|
7 |
|
8 |
<h5> |
|
|
9 |
[% IF ( patrongrade == 'staffgrade' ) %] |
10 |
<i class="fa fa-shield" title="Staff patron"></i> |
11 |
[% END %] |
12 |
[% INCLUDE 'patron-title.inc' %] |
13 |
</h5> |
14 |
|
15 |
[% IF Koha.Preference('showLastPatron') %] |
16 |
<input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]"> |
17 |
<input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]"> |
18 |
<input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]"> |
19 |
[% END %] |
20 |
|
21 |
[% IF ( patronimages ) %] |
8 |
[% IF ( patronimages ) %] |
|
|
9 |
<h5 class="text-center"> |
10 |
[% IF ( patrongrade == 'staffgrade' ) %] |
11 |
<i class="fa fa-shield fa-fw" title="Staff patron"></i> |
12 |
[% END %] |
13 |
[% INCLUDE 'patron-title.inc' %] |
14 |
</h5> |
15 |
|
22 |
<div> |
16 |
<div> |
23 |
<div class="patronimage-container"> |
17 |
<div class="patronimage-container"> |
24 |
[% IF ( patron.image ) %] |
18 |
[% IF ( patron.image ) %] |
Link Here
|
34 |
[% END %] |
28 |
[% END %] |
35 |
</div> |
29 |
</div> |
36 |
</div> |
30 |
</div> |
|
|
31 |
[% ELSE %] |
32 |
<h5> |
33 |
[% IF ( patrongrade == 'staffgrade' ) %] |
34 |
<i class="fa fa-shield fa-fw" title="Staff patron"></i> |
35 |
[% END %] |
36 |
[% INCLUDE 'patron-title.inc' %] |
37 |
</h5> |
38 |
[% END %] |
39 |
|
40 |
[% IF Koha.Preference('showLastPatron') %] |
41 |
<input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]"> |
42 |
<input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]"> |
43 |
<input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]"> |
37 |
[% END %] |
44 |
[% END %] |
38 |
|
45 |
|
39 |
<ul class="patronbriefinfo"> |
46 |
<ul class="patronbriefinfo"> |
40 |
- |
|
|