Bugzilla – Attachment 179181 Details for
Bug 37211
All notes in the patron account transactions table should be editable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37211: (QA follow-up) Update for bootstrap5 and remove copy/paste
Bug-37211-QA-follow-up-Update-for-bootstrap5-and-r.patch (text/plain), 3.93 KB, created by
Lucas Gass (lukeg)
on 2025-03-11 19:43:20 UTC
(
hide
)
Description:
Bug 37211: (QA follow-up) Update for bootstrap5 and remove copy/paste
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-03-11 19:43:20 UTC
Size:
3.93 KB
patch
obsolete
>From 4693ad66f054778b2465606f17dbb96de7ad4b7b Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 11 Mar 2025 19:42:04 +0000 >Subject: [PATCH] Bug 37211: (QA follow-up) Update for bootstrap5 and remove > copy/paste > >--- > .../prog/en/modules/members/boraccount.tt | 19 ++++++------------- > 1 file changed, 6 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index d08a8655a65..5646245ca29 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -132,14 +132,15 @@ > [% account.checkout.library.branchname | html %] > [% END %] > </td> >+ <td>[% IF account.itemnumber %][% Branches.GetName( account.item.homebranch ) | html %][% END %]</td> > <td> > [% account.note | html_line_break %] > [% IF CAN_user_updatecharges_edit_notes %] > <button > type="button" > class="btn btn-default btn-xs edit-action" >- data-toggle="modal" >- data-target="#editNoteModal" >+ data-bs-toggle="modal" >+ data-bs-target="#editNoteModal" > data-accountline="[% account.accountlines_id | html %]" > data-note="[% account.note | html %]" > data-member="[% account.borrowernumber | html %]" >@@ -147,8 +148,6 @@ > > > [% END %] > </td> >- <td>[% IF account.itemnumber %][% Branches.GetName( account.item.homebranch ) | html %][% END %]</td> >- <td>[% account.note | html_line_break %]</td> > [% IF account.amount <= 0 %] > [% SET td_class="credit" %] > [% ELSE %] >@@ -503,10 +502,8 @@ > <div class="modal-dialog" role="document"> > <div class="modal-content"> > <div class="modal-header"> >- <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"> >- <span aria-hidden="true">×</span> >- </button> >- <h4 class="modal-title" id="editNoteLabel">Edit note</h4> >+ <h1 class="modal-title" id="editNoteLabel">Edit note</h1> >+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> > </div> > > <div class="modal-body"> >@@ -524,7 +521,7 @@ > > <div class="modal-footer"> > <button type="submit" class="btn btn-default">Confirm</button> >- <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> >+ <button type="button" class="btn btn-default" data-bs-dismiss="modal">Cancel</button> > </div> > <!-- /.modal-footer --> > </div> >@@ -667,12 +664,8 @@ > > $("#editNoteModal").on("shown.bs.modal", function(e) { > var button = $(e.relatedTarget); >- var item = button.data('item'); >- $("#item + span").replaceWith(item); >- > var accountline = button.data('accountline'); > $('#noteline').val(accountline); >- > var note = button.data('note'); > $('#edited_note').val(note); > }); >-- >2.39.5
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 37211
:
168211
|
168212
|
170002
|
170003
|
170218
|
170219
|
177244
|
177245
|
177248
|
177249
|
177250
|
177251
|
177252
|
177261
|
179178
|
179179
|
179180
| 179181 |
179182
|
179963
|
179967
|
179972
|
179977
|
180923