Bugzilla – Attachment 177261 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) Make note edit button styles less intrusive, align
Bug-37211-QA-follow-up-Make-note-edit-button-style.patch (text/plain), 2.00 KB, created by
Paul Derscheid
on 2025-01-28 11:23:23 UTC
(
hide
)
Description:
Bug 37211: (QA follow-up) Make note edit button styles less intrusive, align
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2025-01-28 11:23:23 UTC
Size:
2.00 KB
patch
obsolete
>From db85b782f3a19ed15ab2c5bf882d673b7bf11fd3 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Tue, 28 Jan 2025 11:20:13 +0000 >Subject: [PATCH] Bug 37211: (QA follow-up) Make note edit button styles less > intrusive, align > >To override the padding on .btn-xs I had to inline style="padding: 0;", it would be nice to have inline-btn variants (that come without padding or margin) for datatables because this is probably a common problem. >--- > .../intranet-tmpl/prog/en/modules/members/boraccount.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >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 8098a13005..b75cb89074 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -132,9 +132,13 @@ > </td> > <td>[% IF account.itemnumber %][% Branches.GetName( account.item.homebranch ) | html %][% END %]</td> > <td> >+ <div class="d-flex justify-content-between gap-2"> >+ <span> > [% account.note | html_line_break %] >+ </span> > [% IF CAN_user_updatecharges_edit_notes %] >- <button type="button" data-bs-toggle="modal" data-bs-target="#editNoteModal" data-accountline="[% account.accountlines_id | html %]" data-note="[% account.note | html %]" class="btn btn-default btn-xs edit-action" ><i class="fa-solid fa-pen"></i> Edit</button> >+ <button type="button" data-bs-toggle="modal" data-bs-target="#editNoteModal" data-accountline="[% account.accountlines_id | html %]" data-note="[% account.note | html %]" class="btn btn-xs btn-link edit-action" style="padding: 0;"><i class="fa-solid fa-pen"></i> Edit</button> >+ </div> > [% END %] > </td> > [% IF account.amount <= 0 %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount | $Price %]</td> >-- >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