Bug 34610: Update deprecated ProtectSuperlibrarian string
Test:
1. Set ProtectSuperlibrarianPrivileges system preference to Allow only
superlibrarians
2. Give superlibrarian permissions to a user (User 1)
3. Give catalogue, borrowers, permissions, and staffaccess permissions
to a second user (User 2)
3. Login as User 2
4. Go to User 1 permission settings page.
5. Hover over the Select all and Clear all links.
6. Check the message that appears contains
ProtectSuperlibrarianPrivileges and not ProtectSuperlibrarian
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit ce24cdc1da)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
b7fe101b57
commit
7776ebc178
|
|
@ -144,7 +144,7 @@
|
|||
[% IF disable_superlibrarian_privs && patron.is_superlibrarian %]
|
||||
$("#CheckAllFlags,#UncheckAllFlags")
|
||||
.attr("disabled", true)
|
||||
.attr("title", _("The system preference ProtectSuperlibrarian is enabled"))
|
||||
.attr("title", _("The system preference ProtectSuperlibrarianPrivileges is enabled"))
|
||||
.on("click", function(e){e.preventDefault()});
|
||||
[% ELSE %]
|
||||
$("#CheckAllFlags").on("click",function(){
|
||||
|
|
|
|||
Loading…
Reference in New Issue