Bug 22765: Add class beside loggedinusername to indicate if logged in user is a super...
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 24 Apr 2019 13:51:36 +0000 (09:51 -0400)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 26 Apr 2019 12:20:12 +0000 (12:20 +0000)
commit90f8eb626d32694e3297a4cfe6566cbb9abe192b
treebfbf0bc42c7ffc3babb3f40092eceb488e89eb3a
parentbfce1fea9652f84c2031f59e7213694b05e4ca8a
Bug 22765: Add class beside loggedinusername to indicate if logged in user is a superlibrarian

It would be useful to know if a logged in user is a superlibrarian for the purpose of customization
using Javascript and CSS.

Test Plan:
1) Apply this patch, restart all the things
2) Log in as a superlibraraian
3) Note the new class 'is_superlibrarian' next to the 'loggedinusername' class
4) Log in as a non-superlibrarian
5) Note the new class is not present

Signed-off-by: Barton Chittenden <barton@bywatersolutions.com>

Signed-off-by: Liz Rea <wizzyrea@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc