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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-1 / +16 lines)
Lines 127-137 Link Here
127
127
128
                                [% IF ( patron.othernames ) %]<div>&ldquo;[% patron.othernames | html %]&rdquo;</div>[% END %]
128
                                [% IF ( patron.othernames ) %]<div>&ldquo;[% patron.othernames | html %]&rdquo;</div>[% END %]
129
129
130
                                [% IF CAN_user_borrowers_view_contact_information %]
130
                                <div class="address">
131
                                <div class="address">
131
                                    <ul>
132
                                    <ul>
132
                                        [% PROCESS 'display-address-style' %]
133
                                        [% PROCESS 'display-address-style' %]
133
                                    </ul>
134
                                    </ul>
134
                                </div>
135
                                </div>
136
                                [% END %]
137
138
                                [% IF CAN_user_borrowers_view_contact_information %]
135
139
136
                                <div class="rows">
140
                                <div class="rows">
137
                                    <ol>
141
                                    <ol>
Lines 272-277 Link Here
272
                                        [% END %]
276
                                        [% END %]
273
                                    </ol>
277
                                    </ol>
274
                                </div> [% # /div.rows %]
278
                                </div> [% # /div.rows %]
279
                                [% END %]
275
                            </div> [% # /div#patron-information %]
280
                            </div> [% # /div#patron-information %]
276
281
277
                            [% IF Koha.Preference('HouseboundModule') %]
282
                            [% IF Koha.Preference('HouseboundModule') %]
Lines 571-583 Link Here
571
                                            <a class="btn btn-default btn-xs" href="memberentry.pl?op=edit_form&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=6"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
576
                                            <a class="btn btn-default btn-xs" href="memberentry.pl?op=edit_form&amp;borrowernumber=[% patron.borrowernumber | html %]&amp;step=6"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
572
                                        [% END %]
577
                                        [% END %]
573
                                    </div>
578
                                    </div>
579
580
                                    [% IF CAN_user_borrowers_view_contact_information %]
581
574
                                    <div class="address">
582
                                    <div class="address">
575
                                        <ul>
583
                                        <ul>
576
                                            [% PROCESS 'display-alt-address-style' %]
584
                                            [% PROCESS 'display-alt-address-style' %]
577
                                        </ul>
585
                                        </ul>
578
                                    </div>
586
                                    </div>
587
588
                                    [% END %]
589
579
                                    <div class="rows">
590
                                    <div class="rows">
580
                                        <ol>
591
                                        <ol>
592
                                     [% IF CAN_user_borrowers_view_contact_information %]   
581
                                            [% IF ( patron.B_phone ) %]
593
                                            [% IF ( patron.B_phone ) %]
582
                                                <li id="patron-bphone">
594
                                                <li id="patron-bphone">
583
                                                    <span class="label">Phone: </span>
595
                                                    <span class="label">Phone: </span>
Lines 598-603 Link Here
598
                                                    [% patron.contactnote |html %]
610
                                                    [% patron.contactnote |html %]
599
                                                </li>
611
                                                </li>
600
                                            [% END %]
612
                                            [% END %]
613
                                            [% END %]
601
                                        </ol>
614
                                        </ol>
602
                                    </div>
615
                                    </div>
603
                                [% ELSE %]
616
                                [% ELSE %]
Lines 620-625 Link Here
620
                                    </div>
633
                                    </div>
621
                                    <div class="rows">
634
                                    <div class="rows">
622
                                        <ol>
635
                                        <ol>
636
                                        [% IF CAN_user_borrowers_view_contact_information %]
623
                                            [% IF ( patron.altcontactsurname ) %]
637
                                            [% IF ( patron.altcontactsurname ) %]
624
                                                <li id="patron-altcontactsurname">
638
                                                <li id="patron-altcontactsurname">
625
                                                    <span class="label">Surname: </span>
639
                                                    <span class="label">Surname: </span>
Lines 675-680 Link Here
675
                                                    <a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a>
689
                                                    <a href="tel:[% patron.altcontactphone | url %]">[% patron.altcontactphone | html %]</a>
676
                                                </li>
690
                                                </li>
677
                                            [% END %]
691
                                            [% END %]
692
                                            [% END %]
678
                                        </ol>
693
                                        </ol>
679
                                    </div> [% # /div.rows %]
694
                                    </div> [% # /div.rows %]
680
                                [% ELSE %]
695
                                [% ELSE %]
Lines 751-756 Link Here
751
        var branchcode = "[% Branches.GetLoggedInBranchcode() | html %]";
766
        var branchcode = "[% Branches.GetLoggedInBranchcode() | html %]";
752
        var exports_enabled = "[% Koha.Preference('ExportCircHistory') | html %]";
767
        var exports_enabled = "[% Koha.Preference('ExportCircHistory') | html %]";
753
        var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 | html %];
768
        var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 | html %];
769
        var ViewContactInformation = [% (CAN_user_borrowers_view_contact_information)? 1 : 0 | html %];
754
        var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalLimitOverride') )? 1: 0 | html %];
770
        var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalLimitOverride') )? 1: 0 | html %];
755
        var AllowRenewalOnHoldOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalOnHoldOverride') )? 1: 0 | html %];
771
        var AllowRenewalOnHoldOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalOnHoldOverride') )? 1: 0 | html %];
756
        var script = "moremember";
772
        var script = "moremember";
757
- 

Return to bug 37144