[% USE Koha %] [% USE KohaDates %] [% PROCESS 'member-display-address-style.inc' %] [% IF ( patron.borrowernumber ) %] [% SET patron_is_staff = patron.has_permission({ 'catalogue' => 1 }) %] [% SET patron_is_superlibrarian = patron.is_superlibrarian %] [% SET patron_type_class = 'is-not-staff' %] [% IF ( patron_is_superlibrarian ) %] [% patron_type_class = 'is-staff is-superlibrarian' %] [% ELSIF ( patron_is_staff ) %] [% patron_type_class = 'is-staff' %] [% END %]