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 1758-1764 legend.collapsed i.fa.fa-caret-down::before { Link Here
1758
            [% END %]
1758
            [% END %]
1759
        </div> <!-- /.row -->
1759
        </div> <!-- /.row -->
1760
[% MACRO jsinclude BLOCK %]
1760
[% MACRO jsinclude BLOCK %]
1761
    [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %]
1762
    [% INCLUDE 'calendar.inc' %]
1761
    [% INCLUDE 'calendar.inc' %]
1763
    [% INCLUDE 'str/members-menu.inc' %]
1762
    [% INCLUDE 'str/members-menu.inc' %]
1764
    [% Asset.js("js/members-menu.js") | $raw %]
1763
    [% Asset.js("js/members-menu.js") | $raw %]
Lines 1771-1778 legend.collapsed i.fa.fa-caret-down::before { Link Here
1771
                $("#cn_max").hide();
1770
                $("#cn_max").hide();
1772
            }
1771
            }
1773
        }
1772
        }
1774
        var Sticky;
1775
1776
        function showHideFields(){
1773
        function showHideFields(){
1777
            $("#messaging_prefs_loading, #guarantor_template").hide();
1774
            $("#messaging_prefs_loading, #guarantor_template").hide();
1778
            [% UNLESS step == 1 %]
1775
            [% UNLESS step == 1 %]
Lines 1877-1888 legend.collapsed i.fa.fa-caret-down::before { Link Here
1877
1874
1878
            $("#saverecord").css({ 'margin-left': 0 });
1875
            $("#saverecord").css({ 'margin-left': 0 });
1879
1876
1880
            Sticky = $("#toolbar");
1881
            Sticky.hcSticky({
1882
                stickTo: "main",
1883
                stickyClass: "floating"
1884
            });
1885
1886
            [% IF borrower_data.categorycode %]
1877
            [% IF borrower_data.categorycode %]
1887
                update_category_code( "[% borrower_data.categorycode | html %]" );
1878
                update_category_code( "[% borrower_data.categorycode | html %]" );
1888
            [% ELSE %]
1879
            [% ELSE %]
1889
- 

Return to bug 36694