Bug 35919: (QA follow-up) Address QA concerns

This patch:

* Adds the missing entry in permissions.inc
* Moves the configuration entry above 'Record overlay rules'
* Adds the 'Record sources' link to the left navigation column, in the
  right position.
* Makes the <title> element be constructed the same way the 'cities'
  page is.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Tomas Cohen Arazi 2024-04-22 09:25:08 -03:00 committed by Katrin Fischer
parent fbdd2fcba0
commit a1d4e3a689
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
4 changed files with 18 additions and 7 deletions

View File

@ -104,6 +104,9 @@
[% IF ( CAN_user_parameters_manage_matching_rules ) %]
<li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
[% END %]
[% IF ( CAN_user_parameters_manage_record_sources ) %]
<li><a href="/cgi-bin/koha/admin/record_sources">Record sources</a></li>
[% END %]
[% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
<li><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">Record overlay rules</a></li>
[% END %]

View File

@ -877,5 +877,11 @@
Manage identity providers
</span>
<span class="permissioncode">([% name | html %])</span>
[%# record_sources %]
[%- CASE 'manage_record_sources' -%]
<span class="sub_permission manage_record_sources_subpermission">
Manage record sources
</span>
<span class="permissioncode">([% name | html %])</span>
[%- END -%]
[%- END -%]

View File

@ -198,6 +198,10 @@
<dt><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></dt>
<dd>Manage rules for automatically matching MARC records during record imports</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_record_sources ) %]
<dt><a href="/cgi-bin/koha/admin/record_sources">Record sources</a></dt>
<dd>Define record sources to import from</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
<dt><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">Record overlay rules</a></dt>
<dd>Managed rules for automatic overlay of MARC fields during record imports and updates</dd>
@ -218,10 +222,6 @@
<dt><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></dt>
<dd>Manage indexes, facets, and their mappings to MARC fields and subfields</dd>
[% END %]
[% IF ( CAN_user_parameters_manage_record_sources ) %]
<dt><a href="/cgi-bin/koha/admin/record_sources">Record sources</a></dt>
<dd>Define record sources to import from</dd>
[% END %]
</dl>
[% END %]

View File

@ -7,9 +7,11 @@
[% SET footerjs = 1 %]
[% PROCESS 'i18n.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
<title>
Record sources &rsaquo; Koha
</title>
<title>[% FILTER collapse %]
[% t("Record sources") | html %] &rsaquo;
[% t("Administration") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>