Bugzilla – Attachment 156339 Details for
Bug 34891
View restrictions button (patrons page) doesn't link to tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34891: Correct link on view restrictions button
Bug-34891-Correct-link-on-view-restrictions-button.patch (text/plain), 1.88 KB, created by
Emily Lamancusa (emlam)
on 2023-09-28 19:10:52 UTC
(
hide
)
Description:
Bug 34891: Correct link on view restrictions button
Filename:
MIME Type:
Creator:
Emily Lamancusa (emlam)
Created:
2023-09-28 19:10:52 UTC
Size:
1.88 KB
patch
obsolete
>From 70a9e6474e4645d5034a391cb34c491c6569bb07 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 22 Sep 2023 16:31:08 +0000 >Subject: [PATCH] Bug 34891: Correct link on view restrictions button > >This patch updates the button which appears on the circulation page >when a patron is restricted. Before this patch, clicking the button >would activate the restrictions tab but wouldn't scroll the page to make >the tab visible. > >To test, apply the patch and check out to a patron who has one or more >restrictions. > >- There should be a message on the page, "Restricted since..." >- Click the "View restrictions" button. >- The page should jump down so that the tabs are visible and the > restrictions tab should be active. >- Test on the patron details page too. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >index 3a52c777c7..7320e3c07d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >@@ -74,7 +74,7 @@ > [% END %] > </em><br/> > [% END %] >- <a class="btn btn-xs btn-default" href="#reldebarments" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a> >+ <a class="btn btn-xs btn-default" href="#reldebarments-tab" onclick="$('#reldebarments-tab').click()"><i class="fa fa-ban"></i> View restrictions</a> > > [% IF (noissues && CAN_user_circulate_force_checkout && !moremember) %] > <span class="override_debarment"> >-- >2.34.1
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 34891
:
156116
|
156119
| 156339