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 <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit abbcf684c2)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2023-02-06 22:53:56 +01:00 committed by Jacob O'Mara
parent a464971441
commit 8c715dab5f
2 changed files with 9 additions and 9 deletions

View file

@ -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"

View file

@ -371,7 +371,7 @@
<td>
[% IF c.category == 'news' || c.category == 'pages' %]
[% IF c.location == 'staff_and_opac' %]<span>All</span>
[% ELSIF c.location == 'staff_only' %]<span>Librarian interface</span>
[% ELSIF c.location == 'staff_only' %]<span>Staff interface</span>
[% ELSIF c.location == 'opac_only' %]<span>OPAC</span>
[% ELSIF c.location == 'slip' %]<span>Slip</span>
[% ELSE %]<span>Unknown ('[% location | html %]')</span>
@ -401,10 +401,10 @@
[% END %]
[% IF c.location == 'staff_only' OR c.location == 'staff_and_opac' %]
[% IF c.location == 'staff_and_opac' %]<br/>[% END %]
<strong>Librarian interface</strong>:
<a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.idnew | url %]" title="View on librarian interface">Default</a>
<strong>Staff interface</strong>:
<a href="/cgi-bin/koha/tools/page.pl?page_id=[% c.idnew | url %]" title="View on staff interface">Default</a>
OR
<a href="/cgi-bin/koha/tools/page.pl?code=[% c.code | url %]" title="View on librarian interface">Current language</a>
<a href="/cgi-bin/koha/tools/page.pl?code=[% c.code | url %]" title="View on staff interface">Current language</a>
[% END %]
</td>
[% END %]
@ -468,15 +468,15 @@
[% BLOCK locations_options %]
[% IF category == 'news' || category == 'pages' %]
[% IF location == "staff_and_opac" %]
<option value="staff_and_opac" selected="selected">Librarian and OPAC interfaces</option>
<option value="staff_and_opac" selected="selected">Staff interface and OPAC</option>
[% ELSE %]
<option value="staff_and_opac">Librarian and OPAC interfaces</option>
<option value="staff_and_opac">Staff interface and OPAC</option>
[% END %]
[% IF location == "staff_only" %]
<option value="staff_only" selected="selected">Librarian interface</option>
<option value="staff_only" selected="selected">Staff interface</option>
[% ELSE %]
<option value="staff_only">Librarian interface</option>
<option value="staff_only">Staff interface</option>
[% END %]
[% IF location == "opac_only" %]