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 (-9 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-1777 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
1773
1776
        function toggle_guarantor_field(rel_number){
1774
        function toggle_guarantor_field(rel_number){
1777
            $(".relation-"+rel_number).prop('disabled', (i, v) => !v);
1775
            $(".relation-"+rel_number).prop('disabled', (i, v) => !v);
Lines 1881-1892 legend.collapsed i.fa.fa-caret-down::before { Link Here
1881
1879
1882
            $("#saverecord").css({ 'margin-left': 0 });
1880
            $("#saverecord").css({ 'margin-left': 0 });
1883
1881
1884
            Sticky = $("#toolbar");
1885
            Sticky.hcSticky({
1886
                stickTo: "main",
1887
                stickyClass: "floating"
1888
            });
1889
1890
            [% IF borrower_data.categorycode %]
1882
            [% IF borrower_data.categorycode %]
1891
                update_category_code( "[% borrower_data.categorycode | html %]" );
1883
                update_category_code( "[% borrower_data.categorycode | html %]" );
1892
            [% ELSE %]
1884
            [% ELSE %]
1893
- 

Return to bug 36694