From 35039e8b0f4a948a854b968fe991d1f8f62734da Mon Sep 17 00:00:00 2001 From: Catalyst Bug Squasher Date: Thu, 25 Jul 2024 23:57:24 +0000 Subject: [PATCH] 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 superlibrarian permission checkbox. 6. Check the message that appears contains ProtectSuperlibrarianPrivileges and not ProtectSuperlibrarian Signed-off-by: Owen Leonard Signed-off-by: Emily Lamancusa --- koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt index 8e995e9649..e30f0081c7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt @@ -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(){ -- 2.34.1