Bug 35474: Add icon for protected patrons
This patch adds a "protected" icon (fa-lock) to the patron information in the sidebar of patron-related pages in the staff interface. To test, apply the patch and perform a patron search in the staff interface. - Edit a patron and go to the "Library management" section. - Set "Protected" to "Yes." - Save the record and view the information in the sidebar. You should see the lock icon by the patron's name. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit272056791f) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commitd7dc3c1b5b) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
b71d875d5e
commit
c8c9d21c69
|
|
@ -23,6 +23,9 @@
|
|||
[% IF ( patron_is_superlibrarian ) %]
|
||||
<i class="fa fa-bolt fa-fw" title="Superlibrarian patron"></i>
|
||||
[% END %]
|
||||
[% IF ( patron.protected ) %]
|
||||
<i class="fa fa-lock fa-fw" title="Protected patron"></i>
|
||||
[% END %]
|
||||
[% INCLUDE 'patron-title.inc' %]
|
||||
</h5>
|
||||
[% IF Koha.Preference('showLastPatron') %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue