Bugzilla – Attachment 153233 Details for
Bug 31082
Add tooltip to buttons when item bundles cannot be changed while checked out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31082: Make the string translatable
Bug-31082-Make-the-string-translatable.patch (text/plain), 1.81 KB, created by
Katrin Fischer
on 2023-07-09 15:34:15 UTC
(
hide
)
Description:
Bug 31082: Make the string translatable
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-07-09 15:34:15 UTC
Size:
1.81 KB
patch
obsolete
>From 017729678ad81ab29b7d2d39a10724906e5c3727 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 7 Jul 2023 11:40:32 +0200 >Subject: [PATCH] Bug 31082: Make the string translatable > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index c86ce02b08..f8694d122e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -1915,7 +1915,7 @@ > "data": function( row, type, val, meta ) { > var result; > if (duedate) { >- result = '<button class="btn btn-default btn-xs remove disabled" role="button" data-itemnumber="'+row.item_id+'" title="This bundle is checked out, it cannot be modified"><i class="fa fa-minus" aria-hidden="true"></i> '+_("Remove")+'</button>\n'; >+ result = '<button class="btn btn-default btn-xs remove disabled" role="button" data-itemnumber="'+row.item_id+'" title="%s"><i class="fa fa-minus" aria-hidden="true"></i> %s</button>\n'.format(_("This bundle is checked out, it cannot be modified"), _("Remove")); > } else { > result = '<button class="btn btn-default btn-xs remove" role="button" data-itemnumber="'+row.item_id+'"><i class="fa fa-minus" aria-hidden="true"></i> '+_("Remove")+'</button>\n'; > } >-- >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 31082
:
151661
|
151669
|
152455
|
152456
|
153140
|
153141
|
153231
|
153232
| 153233 |
153234