Bugzilla – Attachment 171860 Details for
Bug 36694
Remove HC Sticky library in favor of CSS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36694: Remove HC sticky from members/ pages
Bug-36694-Remove-HC-sticky-from-members-pages.patch (text/plain), 2.70 KB, created by
Victor Grousset/tuxayo
on 2024-09-23 03:19:10 UTC
(
hide
)
Description:
Bug 36694: Remove HC sticky from members/ pages
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2024-09-23 03:19:10 UTC
Size:
2.70 KB
patch
obsolete
>From 2061775c6a1f24371a80c7fcd54eebb0e4599aec Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 26 Apr 2024 16:27:59 +0000 >Subject: [PATCH] Bug 36694: Remove HC sticky from members/ pages > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Rebased-by: Victor Grousset/tuxayo <victor@tuxayo.net> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > .../intranet-tmpl/prog/en/includes/members-toolbar.inc | 2 +- > .../prog/en/modules/members/memberentrygen.tt | 8 -------- > 2 files changed, 1 insertion(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >index b27286fb1e..eafd91e535 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc >@@ -5,7 +5,7 @@ > [% USE AuthorisedValues %] > [% USE NoticeTemplates %] > [% USE scalar %] >-<div id="toolbar" class="btn-toolbar"> >+<div id="toolbar" class="btn-toolbar sticky"> > [% IF CAN_user_borrowers_edit_borrowers %] > <a id="editpatron" class="btn btn-default" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&destination=circ&borrowernumber=[% patron.borrowernumber | html %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 17b7b85f2a..6c5b4be9cd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1758,7 +1758,6 @@ legend.collapsed i.fa.fa-caret-down::before { > [% END %] > </div> <!-- /.row --> > [% MACRO jsinclude BLOCK %] >- [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] > [% INCLUDE 'calendar.inc' %] > [% INCLUDE 'str/members-menu.inc' %] > [% Asset.js("js/members-menu.js") | $raw %] >@@ -1771,7 +1770,6 @@ legend.collapsed i.fa.fa-caret-down::before { > $("#cn_max").hide(); > } > } >- var Sticky; > > function toggle_guarantor_field(rel_number){ > $(".relation-"+rel_number).prop('disabled', (i, v) => !v); >@@ -1881,12 +1879,6 @@ legend.collapsed i.fa.fa-caret-down::before { > > $("#saverecord").css({ 'margin-left': 0 }); > >- Sticky = $("#toolbar"); >- Sticky.hcSticky({ >- stickTo: "main", >- stickyClass: "floating" >- }); >- > [% IF borrower_data.categorycode %] > update_category_code( "[% borrower_data.categorycode | html %]" ); > [% ELSE %] >-- >2.46.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 36694
:
165489
|
165490
|
165491
|
165492
|
165493
|
165576
|
165582
|
165584
|
165587
|
165680
|
165682
|
165683
|
165684
|
165686
|
165756
|
165757
|
165758
|
165759
|
165760
|
165761
|
165762
|
165763
|
165764
|
165765
|
165766
|
165767
|
166703
|
166704
|
166705
|
166706
|
166707
|
166708
|
166709
|
166710
|
166711
|
166712
|
166713
|
166714
|
166715
|
166940
|
167507
|
167508
|
167509
|
167510
|
167511
|
167512
|
167513
|
167514
|
167515
|
167516
|
167517
|
167518
|
167519
|
167520
|
167539
|
167823
|
167824
|
167825
|
167826
|
167827
|
167828
|
167829
|
167830
|
167831
|
167832
|
167833
|
167834
|
167835
|
167836
|
167837
|
169110
|
169111
|
169112
|
169113
|
169114
|
169115
|
169116
|
169117
|
169118
|
169119
|
169120
|
169121
|
169122
|
169123
|
169124
|
169125
|
171080
|
171081
|
171082
|
171083
|
171084
|
171085
|
171086
|
171087
|
171088
|
171089
|
171090
|
171091
|
171092
|
171093
|
171094
|
171095
|
171852
|
171853
|
171854
|
171855
|
171856
|
171857
|
171858
|
171859
| 171860 |
171861
|
171862
|
171863
|
171864
|
171865
|
171866
|
171867