Bug 26687: Add a Font Awesome icon for superlibrarian patrons
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Oct 2020 08:48:52 +0000 (10:48 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Nov 2020 11:59:33 +0000 (12:59 +0100)
commite7c134e27e044ad4ebe9a0e4aa220f4a05208215
tree056e11214f413e8adce48a918a38c45e79dcd074
parente91b565055892e6c79cd842a975efd83bd566f52
Bug 26687: Add a Font Awesome icon for superlibrarian patrons

Bug 26534 adds a shield Font Awesome icon to help identify staff
patrons. I propose to add an icon when patron is a superlibrarian.

Patch adds 'is-superlibrarian' class that may be used for more CSS
tuning.

Test plan:
1) Compare display between a patron A beeing superlibarian and a patron
   B having only staff interface access
2) Patron B has only shield icon
3) Patron A has shield icon and bolt icon
4) Check a patron without permissions has no shield icon

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc