Bugzilla – Attachment 170696 Details for
Bug 27063
Allow changing which record an order is linked to
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27063: Use Bootstrap 5 syntax for modal
Bug-27063-Use-Bootstrap-5-syntax-for-modal.patch (text/plain), 4.02 KB, created by
Aleisha Amohia
on 2024-08-26 03:52:27 UTC
(
hide
)
Description:
Bug 27063: Use Bootstrap 5 syntax for modal
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-08-26 03:52:27 UTC
Size:
4.02 KB
patch
obsolete
>From 8f5aa2c8eb62b25e6d6d7b75ad9d0b9454c634e7 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Mon, 26 Aug 2024 03:50:51 +0000 >Subject: [PATCH] Bug 27063: Use Bootstrap 5 syntax for modal > >--- > .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index e674b273dda..0c02e9d0ab4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -719,7 +719,7 @@ > </td> > [% IF ( active && !closedate ) %] > <td> >- <a href="#relinkOrder" role="button" class="relink_order" data-toggle="modal" data-ordernumber="[% books_loo.ordernumber | html %]" data-basketname="[% basket.basketname | html %]">Link to different record</a> >+ <a href="#relinkOrder" role="button" class="relink_order" data-bs-toggle="modal" data-ordernumber="[% books_loo.ordernumber | html %]" data-basketname="[% basket.basketname | html %]">Link to different record</a> > [% UNLESS (books_loo.order_received) %] > <a href="neworderempty.pl?ordernumber=[% books_loo.ordernumber | uri %]&booksellerid=[% booksellerid | uri %]&basketno=[% basketno | uri %]">Modify</a> > <br /> >@@ -891,8 +891,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="relinkOrderLabel">Relink order in basket</h4> >+ <h1 class="modal-title" id="relinkOrderLabel">Relink order in basket</h1> >+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> > </div> > <div class="modal-body"> > <fieldset class="acqui_basket_relink"> >@@ -921,7 +921,7 @@ > </fieldset> > </div> > <div class="modal-footer"> >- <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a> >+ <a href="#" class="cancel" data-bs-dismiss="modal" aria-hidden="true">Cancel</a> > </div> > </div><!-- /.modal-content --> > </div><!-- /.modal-dialog --> >@@ -1153,7 +1153,7 @@ > var basket = $(this).data("basketname"); > var ordernumber = $(this).data("ordernumber"); > var legend = _("Relink order no. %s in basket %s").format(ordernumber, basket); >- $("#relinkOrder").find("h4").text( legend ); >+ $("#relinkOrder").find("h1").text( legend ); > $("#relinkOrder").find("legend").html(legend); > $("#relinkOrder").find("input:text").focus(); > $("#relinkOrder").find("input[id='searchtoorder']").attr("data-ordernumber", ordernumber); >-- >2.39.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 27063
:
167619
|
167678
|
167679
|
167783
|
167784
|
167818
|
167819
|
168049
|
168050
|
168571
|
168572
|
170123
|
170166
|
170487
|
170488
|
170692
|
170693
|
170694
|
170695
|
170696
|
174648
|
174649