From 8c715dab5f4a873ec0ebb76df5fd2d58d2bfdb07 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 6 Feb 2023 22:53:56 +0100 Subject: [PATCH] Bug 32027: Fix 'librarian interface' to use 'staff interface' in Pages/HTML customizations/News This changes all occurences of "librarian interface" to the correct term "staff interface" To test: * Create a new Page * Verify that the pull down for location has "librarian interface" * Save your page * Verify that the list of existing pages has "Librarian interface" as label for the link * Verify that when you hover over on those links the titles read "librarian interface" as well * Apply patch * All those should read correctly now. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi (cherry picked from commit abbcf684c272239d3bf891160e2c59f3855c195d) Signed-off-by: Jacob O'Mara --- C4/Suggestions.pm | 2 +- .../prog/en/modules/tools/additional-contents.tt | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/C4/Suggestions.pm b/C4/Suggestions.pm index dc92c1554f..478192c224 100644 --- a/C4/Suggestions.pm +++ b/C4/Suggestions.pm @@ -56,7 +56,7 @@ use C4::Suggestions; =head1 DESCRIPTION -The functions in this module deal with the aqorders in OPAC and in librarian interface +The functions in this module deal with the aqorders in OPAC and in staff interface A suggestion is done in the OPAC. It has the status "ASKED" diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index 04fdba73b9..30b0103a80 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -371,7 +371,7 @@ [% IF c.category == 'news' || c.category == 'pages' %] [% IF c.location == 'staff_and_opac' %]All - [% ELSIF c.location == 'staff_only' %]Librarian interface + [% ELSIF c.location == 'staff_only' %]Staff interface [% ELSIF c.location == 'opac_only' %]OPAC [% ELSIF c.location == 'slip' %]Slip [% ELSE %]Unknown ('[% location | html %]') @@ -401,10 +401,10 @@ [% END %] [% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %] [% IF c.location == 'staff_and_opac' %]
[% END %] - Librarian interface: - Default + Staff interface: + Default OR - Current language + Current language [% END %] [% END %] @@ -468,15 +468,15 @@ [% BLOCK locations_options %] [% IF category == 'news' || category == 'pages' %] [% IF location == "staff_and_opac" %] - + [% ELSE %] - + [% END %] [% IF location == "staff_only" %] - + [% ELSE %] - + [% END %] [% IF location == "opac_only" %] -- 2.39.5