Bugzilla – Attachment 191131 Details for
Bug 41571
Tidy kohaTable block - labels
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41571: Tidy kohaTable - labels/label-manage.tt
a302520.patch (text/plain), 1.72 KB, created by
Jonathan Druart
on 2026-01-09 14:48:41 UTC
(
hide
)
Description:
Bug 41571: Tidy kohaTable - labels/label-manage.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2026-01-09 14:48:41 UTC
Size:
1.72 KB
patch
obsolete
>From a3025201cadd8f96aff874857096ca103e7e7c4a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 8 Jan 2026 14:02:50 +0100 >Subject: [PATCH] Bug 41571: Tidy kohaTable - labels/label-manage.tt > >--- > .../intranet-tmpl/prog/en/modules/labels/label-manage.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >index 1284f16580e..4cfc044224e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt >@@ -157,6 +157,11 @@ > > [% MACRO jsinclude BLOCK %] > [% INCLUDE 'datatables.inc' %] >+ <script> >+ // FIXME This is impossible to translate correctly >+ const label_element = "[% label_element | html %]"; >+ </script> >+ > <script> > function Xport() { > batches= new Array; >@@ -193,7 +198,7 @@ > return(document.layouts.action[selected[0]].value); > } > else { >- alert(_("Please select only one %s to %s.").format("[% label_element | html %]", op)); >+ alert(_("Please select only one %s to %s.").format(label_element, op); > return (-1); > } > } >@@ -202,7 +207,7 @@ > return(document.layouts.action.value); > } > }; >- alert(_("Please select a %s.").format("[% label_element | html %]")); >+ alert(_("Please select a %s.").format(label_element)); > return (-1); > } > $(document).ready(function(){ >-- >2.43.0 >
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 41571
:
191130
| 191131 |
191132