Bug 31718: Change the IF ELSE values in marc_subfields_structure breadcrumbs to facilitate translation

This patch changes the strings in the IF ELSE for the framework
name in the breadcrumbs on the marc_subfields_structure.pl page.

To test:
1) Apply patch
2) In the intranet, go to Administration > MARC bibliographic framework
3) Click 'Actions' next to the default framework and choose 'MARC
structure'
4) Click 'Actions' next to a MARC tag and choose 'View subfields'
5) Check the breadcrumbs, they should show
Home > Administration > MARC frameworks > Default framework structure >
...
6) Redo steps 2-5, using a different framework, e.g. ACQ
The breadcrumbs for ACQ should look like
Home > Administration > MARC frameworks > ACQ framework structure > ...

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Caroline Cyr La Rose 2022-10-07 16:45:02 -04:00 committed by Tomas Cohen Arazi
parent ae5d1f98ac
commit 5e615b76a9
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -55,10 +55,10 @@
<li>
<a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode | uri %]&amp;searchfield=[% tagfield | uri %]">
[% IF ( frameworkcode ) %]
[% frameworkcode | html %]
<span>[% frameworkcode | html %] framework structure</span>
[% ELSE %]
<span>Default</span>
[% END %] <span>framework structure</span>
<span>Default framework structure</span>
[% END %]
</a>
</li>