Bugzilla – Attachment 141556 Details for
Bug 31718
Change the IF ELSE values in MARC subfields structure breadcrumbs to facilitate translation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31718: Change the IF ELSE values in marc_subfields_structure breadcrumbs to facilitate translation
Bug-31718-Change-the-IF-ELSE-values-in-marcsubfiel.patch (text/plain), 2.09 KB, created by
David Nind
on 2022-10-09 21:00:46 UTC
(
hide
)
Description:
Bug 31718: Change the IF ELSE values in marc_subfields_structure breadcrumbs to facilitate translation
Filename:
MIME Type:
Creator:
David Nind
Created:
2022-10-09 21:00:46 UTC
Size:
2.09 KB
patch
obsolete
>From 79fff00ef9a166ef377a2b9e09c7aa8afcc31ae3 Mon Sep 17 00:00:00 2001 >From: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Date: Fri, 7 Oct 2022 16:45:02 -0400 >Subject: [PATCH] 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> >--- > .../prog/en/modules/admin/marc_subfields_structure.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >index a01a67ec60..9d84dd2c97 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt >@@ -53,10 +53,10 @@ > <li> > <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode | uri %]&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> > >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31718
:
141526
|
141536
|
141556
|
141557
|
141924
|
141925