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 commitce24cdc1da) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit7776ebc178) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
f4eadaea1e
commit
401decfe80
|
|
@ -133,7 +133,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