Link Here
|
3 |
[% PROCESS 'member-display-address-style.inc' %] |
3 |
[% PROCESS 'member-display-address-style.inc' %] |
4 |
[% IF ( patron.borrowernumber ) %] |
4 |
[% IF ( patron.borrowernumber ) %] |
5 |
[% SET patron_is_staff = patron.has_permission({ 'catalogue' => 1 }) %] |
5 |
[% SET patron_is_staff = patron.has_permission({ 'catalogue' => 1 }) %] |
6 |
[% SET patron_type_class = patron_is_staff ? 'is-staff' : 'is-not-staff' %] |
6 |
[% SET patron_is_superlibrarian = patron.is_superlibrarian %] |
|
|
7 |
[% SET patron_type_class = 'is-not-staff' %] |
8 |
[% IF ( patron_is_superlibrarian ) %] |
9 |
[% patron_type_class = 'is-staff is-superlibrarian' %] |
10 |
[% ELSIF ( patron_is_staff ) %] |
11 |
[% patron_type_class = 'is-staff' %] |
12 |
[% END %] |
7 |
<div class="patroninfo [% patron_type_class | html %]"> |
13 |
<div class="patroninfo [% patron_type_class | html %]"> |
8 |
|
14 |
|
9 |
[% IF ( patronimages ) %] |
15 |
[% IF ( patronimages ) %] |
Link Here
|
14 |
[% IF ( patron_is_staff ) %] |
20 |
[% IF ( patron_is_staff ) %] |
15 |
<i class="fa fa-shield fa-fw" title="Staff patron"></i> |
21 |
<i class="fa fa-shield fa-fw" title="Staff patron"></i> |
16 |
[% END %] |
22 |
[% END %] |
|
|
23 |
[% IF ( patron_is_superlibrarian ) %] |
24 |
<i class="fa fa-bolt fa-fw" title="Superlibrarian patron"></i> |
25 |
[% END %] |
17 |
[% INCLUDE 'patron-title.inc' %] |
26 |
[% INCLUDE 'patron-title.inc' %] |
18 |
</h5> |
27 |
</h5> |
19 |
|
28 |
|
20 |
- |
|
|