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 1741-1747 legend.collapsed i.fa.fa-caret-down::before { Link Here
1741
            [% END %]
1741
            [% END %]
1742
        </div> <!-- /.row -->
1742
        </div> <!-- /.row -->
1743
[% MACRO jsinclude BLOCK %]
1743
[% MACRO jsinclude BLOCK %]
1744
    [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %]
1745
    [% INCLUDE 'calendar.inc' %]
1744
    [% INCLUDE 'calendar.inc' %]
1746
    [% INCLUDE 'str/members-menu.inc' %]
1745
    [% INCLUDE 'str/members-menu.inc' %]
1747
    [% Asset.js("js/members-menu.js") | $raw %]
1746
    [% Asset.js("js/members-menu.js") | $raw %]
Lines 1754-1761 legend.collapsed i.fa.fa-caret-down::before { Link Here
1754
                $("#cn_max").hide();
1753
                $("#cn_max").hide();
1755
            }
1754
            }
1756
        }
1755
        }
1757
        var Sticky;
1758
1759
        function showHideFields(){
1756
        function showHideFields(){
1760
            $("#messaging_prefs_loading, #guarantor_template").hide();
1757
            $("#messaging_prefs_loading, #guarantor_template").hide();
1761
            [% UNLESS step == 1 %]
1758
            [% UNLESS step == 1 %]
Lines 1860-1871 legend.collapsed i.fa.fa-caret-down::before { Link Here
1860
1857
1861
            $("#saverecord").css({ 'margin-left': 0 });
1858
            $("#saverecord").css({ 'margin-left': 0 });
1862
1859
1863
            Sticky = $("#toolbar");
1864
            Sticky.hcSticky({
1865
                stickTo: "main",
1866
                stickyClass: "floating"
1867
            });
1868
1869
            [% IF borrower_data.categorycode %]
1860
            [% IF borrower_data.categorycode %]
1870
                update_category_code( "[% borrower_data.categorycode | html %]" );
1861
                update_category_code( "[% borrower_data.categorycode | html %]" );
1871
            [% ELSE %]
1862
            [% ELSE %]
1872
- 

Return to bug 36694