Browse Source

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>
23.05.x
Katrin Fischer 8 months ago
committed by Tomas Cohen Arazi
parent
commit
abbcf684c2
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 2
      C4/Suggestions.pm
  2. 16
      koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt

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

16
koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt

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

Loading…
Cancel
Save