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 847-873 Link Here
847
            [% SET print_button = '' %]
847
            [% SET print_button = '' %]
848
848
849
            [% IF transfertodo %]
849
            [% IF transfertodo %]
850
                [% confirm_button_text = 'Confirm hold and transfer' %]
850
                [% confirm_button_text = t('Confirm hold and transfer') %]
851
                [% 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>' %]
851
                [% 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>' %]
852
            [% ELSE %]
852
            [% ELSE %]
853
                [% confirm_button_text = 'Confirm hold' %]
853
                [% confirm_button_text = t('Confirm hold') %]
854
                [% print_button = '<button type="button" class="btn btn-default print" accesskey="p"> <i class="fa fa-print"></i> Print slip and confirm (P) </button>' %]
854
                [% 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>' %]
855
            [% END %]
855
            [% END %]
856
856
857
            [% SET modal_print_url = reserve_id | uri %]
857
            [% SET modal_print_url = reserve_id | uri %]
858
            [% modal_print_url = "/cgi-bin/koha/circ/hold-transfer-slip.pl?reserve_id=" _ modal_print_url %]
858
            [% modal_print_url = "/cgi-bin/koha/circ/hold-transfer-slip.pl?reserve_id=" _ modal_print_url %]
859
859
860
            [% 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" %]
860
            [% 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" %]
861
                <h1>
861
                <h1>
862
                    <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a>
862
                    <a href="/cgi-bin/koha/catalogue/detail.pl?type=intra&amp;biblionumber=[% itembiblionumber | uri %]">[% title | html %]</a>
863
                    <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>
863
                    <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>
864
                </h1>
864
                </h1>
865
                [% IF ( reservenotes ) %]
865
                [% IF ( reservenotes ) %]
866
                    <h4>Notes:</h4>
866
                    <h4>[% t('Notes') | html %]:</h4>
867
                    <p>[% reservenotes | html %]</p>
867
                    <p>[% reservenotes | html %]</p>
868
                    <hr />
868
                    <hr />
869
                [% END %]
869
                [% END %]
870
                <h4>Hold for:</h4>
870
                <h4>[% t('Hold for') | html %]:</h4>
871
                <ul>
871
                <ul>
872
                    <li>
872
                    <li>
873
                        [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_reserves" %]
873
                        [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_reserves" %]
Lines 893-930 Link Here
893
                    [% UNLESS ( transfertodo) %]
893
                    [% UNLESS ( transfertodo) %]
894
                        [% INCLUDE display_bormessagepref %]
894
                        [% INCLUDE display_bormessagepref %]
895
                        [% IF patron.primary_contact_method %]
895
                        [% IF patron.primary_contact_method %]
896
                            <li id="main_contact_method"
896
                            <li id="main_contact_method">
897
                                >Main contact method:
897
                                [% t('Main contact method') | html %]:
898
                                [% SWITCH patron.primary_contact_method %]
898
                                [% SWITCH patron.primary_contact_method %]
899
                                [% CASE 'phone' %]
899
                                [% CASE 'phone' %]
900
                                    <span>Primary phone</span>
900
                                    <span>[% t('Primary phone') | html %]</span>
901
                                [% CASE 'phonepro' %]
901
                                [% CASE 'phonepro' %]
902
                                    <span>Secondary phone</span>
902
                                    <span>[% t('Secondary phone') | html %]</span>
903
                                [% CASE 'mobile' %]
903
                                [% CASE 'mobile' %]
904
                                    <span>Other phone</span>
904
                                    <span>[% t('Other phone') | html %]</span>
905
                                [% CASE 'email' %]
905
                                [% CASE 'email' %]
906
                                    <span>Primary email</span>
906
                                    <span>[% t('Primary email') | html %]</span>
907
                                [% CASE 'emailpro' %]
907
                                [% CASE 'emailpro' %]
908
                                    <span>Secondary email</span>
908
                                    <span>[% t('Secondary email') | html %]</span>
909
                                [% CASE 'fax' %]
909
                                [% CASE 'fax' %]
910
                                    <span>Fax</span>
910
                                    <span>[% t('Fax') | html %]</span>
911
                                [% END %]
911
                                [% END %]
912
                            </li>
912
                            </li>
913
                        [% END %]
913
                        [% END %]
914
                    [% END %]
914
                    [% END %]
915
915
916
                    [% IF ( patron.is_debarred ) %]
916
                    [% IF ( patron.is_debarred ) %]
917
                        <li class="error">Patron is RESTRICTED</li>
917
                        <li class="error">[% t('Patron is RESTRICTED') | html %]</li>
918
                    [% END %]
918
                    [% END %]
919
919
920
                    [% IF ( patron.gonenoaddress ) %]
920
                    [% IF ( patron.gonenoaddress ) %]
921
                        <li class="error">Patron's address is in doubt</li>
921
                        <li class="error">[% t("Patron's address is in doubt") | html %]</li>
922
                    [% END %]
922
                    [% END %]
923
                </ul>
923
                </ul>
924
                [% IF ( transfertodo ) %]
924
                [% IF ( transfertodo ) %]
925
                    <h4><strong>Transfer to:</strong> [% Branches.GetName( destbranch ) | html %]</h4>
925
                    <h4><strong>[% t('Transfer to') | html %]:</strong> [% Branches.GetName( destbranch ) | html %]</h4>
926
                [% ELSE %]
926
                [% ELSE %]
927
                    <h4><strong>Hold at</strong> [% Branches.GetName( destbranch ) | html %]</h4>
927
                    <h4><strong>[% t('Hold at') | html %]</strong> [% Branches.GetName( destbranch ) | html %]</h4>
928
                [% END %]
928
                [% END %]
929
929
930
                [% PROCESS passthrough_data %]
930
                [% PROCESS passthrough_data %]
931
- 

Return to bug 38842