View | Details | Raw Unified | Return to bug 26687
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+6 lines)
Lines 1419-1424 dd { Link Here
1419
            background-color: #EEE;
1419
            background-color: #EEE;
1420
        }
1420
        }
1421
    }
1421
    }
1422
1423
    &.is-superlibrarian {
1424
        .fa.fa-shield {
1425
            color: #CC0000;
1426
        }
1427
    }
1422
}
1428
}
1423
1429
1424
.patroninfo-section {
1430
.patroninfo-section {
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-2 / +7 lines)
Lines 3-9 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
- 

Return to bug 26687