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 ) %] |
10 |
- |
|
|