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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc (-1 / +1 lines)
Lines 702-708 Link Here
702
                            [% footer_has_content = 1 %]
702
                            [% footer_has_content = 1 %]
703
                        [% END %]
703
                        [% END %]
704
                        [% IF !footer_has_content %]
704
                        [% IF !footer_has_content %]
705
                            <button type="button" data-bs-dismiss="modal" class="btn btn-default" id="[% modal_id | $raw %]-ok">OK</button>
705
                            <button type="button" data-bs-dismiss="modal" class="btn btn-default" id="[% modal_id | $raw %]-ok">[% t('OK') | html %]</button>
706
                        [% END %]
706
                        [% END %]
707
                    </div>
707
                    </div>
708
                </form>
708
                </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-20 / +19 lines)
Lines 841-867 Link Here
841
            [% SET print_button = '' %]
841
            [% SET print_button = '' %]
842
842
843
            [% IF transfertodo %]
843
            [% IF transfertodo %]
844
                [% confirm_button_text = 'Confirm hold and transfer' %]
844
                [% confirm_button_text = t('Confirm hold and transfer') %]
845
                [% print_button = '<button type="button" class="btn btn-default print" accesskey="p"> <i class="fa fa-print"></i> Print slip, transfer, and confirm (P) </button>' %]
845
                [% print_button = '<button type="button" class="btn btn-default print" accesskey="p"> <i class="fa fa-print"></i> ' _ t('Print slip, transfer, and confirm') _ ' (P) </button>' %]
846
            [% ELSE %]
846
            [% ELSE %]
847
                [% confirm_button_text = 'Confirm hold' %]
847
                [% confirm_button_text = t('Confirm hold') %]
848
                [% print_button = '<button type="button" class="btn btn-default print" accesskey="p"> <i class="fa fa-print"></i> Print slip and confirm (P) </button>' %]
848
                [% print_button = '<button type="button" class="btn btn-default print" accesskey="p"> <i class="fa fa-print"></i> ' _ t('Print slip and confirm') _ ' (P) </button>' %]
849
            [% END %]
849
            [% END %]
850
850
851
            [% SET modal_print_url = reserve_id | uri %]
851
            [% SET modal_print_url = reserve_id | uri %]
852
            [% modal_print_url = "/cgi-bin/koha/circ/hold-transfer-slip.pl?reserve_id=" _ modal_print_url %]
852
            [% modal_print_url = "/cgi-bin/koha/circ/hold-transfer-slip.pl?reserve_id=" _ modal_print_url %]
853
853
854
            [% WRAPPER modal_wrapper modal_id="hold-found-modal" modal_header_contents='<h1 class="modal-title">Hold found</h1>' modal_confirm_text=confirm_button_text modal_confirm_accesskey="Y" modal_custom_utility_button=print_button modal_deny_text="Ignore" modal_deny_accesskey="I" modal_deny_action="dismiss" %]
854
            [% WRAPPER modal_wrapper modal_id="hold-found-modal" modal_header_contents='<h1 class="modal-title">' _ t('Hold found') _ '</h1>' modal_confirm_text=confirm_button_text modal_confirm_accesskey="Y" modal_custom_utility_button=print_button modal_deny_text= t('Ignore') modal_deny_accesskey="I" modal_deny_action="dismiss" %]
855
                <h1>
855
                <h1>
856
                    <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a>
856
                    <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a>
857
                    <div class="hold-found-barcode"> (<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% itembiblionumber | uri %]&amp;itemnumber=[% itemnumber | uri %]">[% item.barcode | html %]</a>) </div>
857
                    <div class="hold-found-barcode"> (<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% itembiblionumber | uri %]&amp;itemnumber=[% itemnumber | uri %]">[% item.barcode | html %]</a>) </div>
858
                </h1>
858
                </h1>
859
                [% IF ( reservenotes ) %]
859
                [% IF ( reservenotes ) %]
860
                    <h4>Notes:</h4>
860
                    <h4>[% t('Notes') | html %]:</h4>
861
                    <p>[% reservenotes | html %]</p>
861
                    <p>[% reservenotes | html %]</p>
862
                    <hr />
862
                    <hr />
863
                [% END %]
863
                [% END %]
864
                <h4>Hold for:</h4>
864
                <h4>[% t('Hold for') | html %]:</h4>
865
                <ul>
865
                <ul>
866
                    <li>
866
                    <li>
867
                        [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_reserves" %]
867
                        [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_reserves" %]
Lines 887-924 Link Here
887
                    [% UNLESS ( transfertodo) %]
887
                    [% UNLESS ( transfertodo) %]
888
                        [% INCLUDE display_bormessagepref %]
888
                        [% INCLUDE display_bormessagepref %]
889
                        [% IF patron.primary_contact_method %]
889
                        [% IF patron.primary_contact_method %]
890
                            <li id="main_contact_method"
890
                            <li id="main_contact_method">
891
                                >Main contact method:
891
                                [% t('Main contact method') | html %]:
892
                                [% SWITCH patron.primary_contact_method %]
892
                                [% SWITCH patron.primary_contact_method %]
893
                                [% CASE 'phone' %]
893
                                [% CASE 'phone' %]
894
                                    <span>Primary phone</span>
894
                                    <span>[% t('Primary phone') | html %]</span>
895
                                [% CASE 'phonepro' %]
895
                                [% CASE 'phonepro' %]
896
                                    <span>Secondary phone</span>
896
                                    <span>[% t('Secondary phone') | html %]</span>
897
                                [% CASE 'mobile' %]
897
                                [% CASE 'mobile' %]
898
                                    <span>Other phone</span>
898
                                    <span>[% t('Other phone') | html %]</span>
899
                                [% CASE 'email' %]
899
                                [% CASE 'email' %]
900
                                    <span>Primary email</span>
900
                                    <span>[% t('Primary email') | html %]</span>
901
                                [% CASE 'emailpro' %]
901
                                [% CASE 'emailpro' %]
902
                                    <span>Secondary email</span>
902
                                    <span>[% t('Secondary email') | html %]</span>
903
                                [% CASE 'fax' %]
903
                                [% CASE 'fax' %]
904
                                    <span>Fax</span>
904
                                    <span>[% t('Fax') | html %]</span>
905
                                [% END %]
905
                                [% END %]
906
                            </li>
906
                            </li>
907
                        [% END %]
907
                        [% END %]
908
                    [% END %]
908
                    [% END %]
909
909
910
                    [% IF ( patron.is_debarred ) %]
910
                    [% IF ( patron.is_debarred ) %]
911
                        <li class="error">Patron is RESTRICTED</li>
911
                        <li class="error">[% t('Patron is RESTRICTED') | html %]</li>
912
                    [% END %]
912
                    [% END %]
913
913
914
                    [% IF ( patron.gonenoaddress ) %]
914
                    [% IF ( patron.gonenoaddress ) %]
915
                        <li class="error">Patron's address is in doubt</li>
915
                        <li class="error">[% t("Patron's address is in doubt") | html %]</li>
916
                    [% END %]
916
                    [% END %]
917
                </ul>
917
                </ul>
918
                [% IF ( transfertodo ) %]
918
                [% IF ( transfertodo ) %]
919
                    <h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4>
919
                    <h4><strong>[% t('Transfer to') | html %]:</strong> [% Branches.GetName( destbranch ) | html %]</h4>
920
                [% ELSE %]
920
                [% ELSE %]
921
                    <h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4>
921
                    <h4><strong>[% t('Hold at') | html %]</strong> [% Branches.GetName( destbranch ) | html %]</h4>
922
                [% END %]
922
                [% END %]
923
923
924
                [% PROCESS passthrough_data %]
924
                [% PROCESS passthrough_data %]
925
- 

Return to bug 38842