View | Details | Raw Unified | Return to bug 36694
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-1 / +1 lines)
Lines 5-11 Link Here
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% USE NoticeTemplates %]
6
[% USE NoticeTemplates %]
7
[% USE scalar %]
7
[% USE scalar %]
8
<div id="toolbar" class="btn-toolbar">
8
<div id="toolbar" class="btn-toolbar sticky">
9
    [% IF CAN_user_borrowers_edit_borrowers %]
9
    [% IF CAN_user_borrowers_edit_borrowers %]
10
        <a id="editpatron" class="btn btn-default" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
10
        <a id="editpatron" class="btn btn-default" href="/cgi-bin/koha/members/memberentry.pl?op=edit_form&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber | html %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
11
    [% END %]
11
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-10 lines)
Lines 1753-1759 legend.collapsed i.fa.fa-caret-down::before { Link Here
1753
            [% END %]
1753
            [% END %]
1754
        </div> <!-- /.row -->
1754
        </div> <!-- /.row -->
1755
[% MACRO jsinclude BLOCK %]
1755
[% MACRO jsinclude BLOCK %]
1756
    [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %]
1757
    [% INCLUDE 'calendar.inc' %]
1756
    [% INCLUDE 'calendar.inc' %]
1758
    [% INCLUDE 'str/members-menu.inc' %]
1757
    [% INCLUDE 'str/members-menu.inc' %]
1759
    [% Asset.js("js/members-menu.js") | $raw %]
1758
    [% Asset.js("js/members-menu.js") | $raw %]
Lines 1766-1773 legend.collapsed i.fa.fa-caret-down::before { Link Here
1766
                $("#cn_max").hide();
1765
                $("#cn_max").hide();
1767
            }
1766
            }
1768
        }
1767
        }
1769
        var Sticky;
1770
1771
        function showHideFields(){
1768
        function showHideFields(){
1772
            $("#messaging_prefs_loading, #guarantor_template").hide();
1769
            $("#messaging_prefs_loading, #guarantor_template").hide();
1773
            [% UNLESS step == 1 %]
1770
            [% UNLESS step == 1 %]
Lines 1872-1883 legend.collapsed i.fa.fa-caret-down::before { Link Here
1872
1869
1873
            $("#saverecord").css({ 'margin-left': 0 });
1870
            $("#saverecord").css({ 'margin-left': 0 });
1874
1871
1875
            Sticky = $("#toolbar");
1876
            Sticky.hcSticky({
1877
                stickTo: "main",
1878
                stickyClass: "floating"
1879
            });
1880
1881
            [% IF borrower_data.categorycode %]
1872
            [% IF borrower_data.categorycode %]
1882
                update_category_code( "[% borrower_data.categorycode | html %]" );
1873
                update_category_code( "[% borrower_data.categorycode | html %]" );
1883
            [% ELSE %]
1874
            [% ELSE %]
1884
- 

Return to bug 36694