Bugzilla – Attachment 178433 Details for
Bug 39179
ILL batches should allow editing without having to add new requests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39179: Update batches table icons
Bug-39179-Update-batches-table-icons.patch (text/plain), 2.23 KB, created by
Pedro Amorim
on 2025-02-20 16:58:16 UTC
(
hide
)
Description:
Bug 39179: Update batches table icons
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-02-20 16:58:16 UTC
Size:
2.23 KB
patch
obsolete
>From f44e5655f7525097b7c5f446edae5ff89ccc7671 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Thu, 20 Feb 2025 16:05:26 +0000 >Subject: [PATCH] Bug 39179: Update batches table icons > >--- > .../intranet-tmpl/prog/js/ill-batch-table.js | 19 +++++++++++++++++-- > 1 file changed, 17 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-batch-table.js b/koha-tmpl/intranet-tmpl/prog/js/ill-batch-table.js >index 3ff97e50784..6b7e874ec4e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/ill-batch-table.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/ill-batch-table.js >@@ -126,17 +126,32 @@ > > var editButton = document.createElement("button"); > editButton.setAttribute("type", "button"); >- editButton.setAttribute("class", "editButton btn btn-xs btn-default"); >+ editButton.setAttribute("class", "editButton btn btn-default btn-xs"); > editButton.setAttribute("data-batch-id", row.ill_batch_id); >+ >+ var editIcon = document.createElement("i"); >+ editIcon.setAttribute("class", "fa fa-pencil"); >+ editIcon.setAttribute("aria-hidden", "true"); >+ editIcon.style.pointerEvents = "none"; >+ editButton.appendChild(editIcon); >+ var whitespace = document.createTextNode("\u00A0"); >+ editButton.appendChild(whitespace); > editButton.appendChild(document.createTextNode(ill_batch_edit)); > > var deleteButton = document.createElement("button"); > deleteButton.setAttribute("type", "button"); > deleteButton.setAttribute( > "class", >- "deleteButton btn btn-xs btn-danger" >+ "deleteButton btn btn-default btn-xs" > ); > deleteButton.setAttribute("data-batch-id", row.ill_batch_id); >+ var deleteIcon = document.createElement("i"); >+ deleteIcon.setAttribute("class", "fa fa-trash-can"); >+ deleteIcon.setAttribute("aria-hidden", "true"); >+ deleteIcon.style.pointerEvents = "none"; >+ deleteButton.appendChild(deleteIcon); >+ var whitespace = document.createTextNode("\u00A0"); >+ deleteButton.appendChild(whitespace); > deleteButton.appendChild(document.createTextNode(ill_batch_delete)); > > div.appendChild(editButton); >-- >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 39179
:
178433
|
178434
|
178435
|
178436
|
178437
|
178853
|
178854
|
178855
|
178856
|
178857
|
182113
|
182114
|
182115
|
182116
|
182117