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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt (-33 / +46 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE Price %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Placing a hold</title>
5
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Placing a hold</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
Lines 16-94 Link Here
16
    </ul>
17
    </ul>
17
18
18
    <div class="container">
19
    <div class="container">
19
20
        <div id="holds">
20
                <div id="holds">
21
            [% IF ( message ) %]
21
                    [% IF ( message ) %]
22
                <div id="holdmessages" class="alert">
23
                    <p><strong>Sorry</strong>, you cannot place holds.</strong></p>
24
                    <ul>
22
                        [% IF ( GNA ) %]
25
                        [% IF ( GNA ) %]
23
                            <div id="gna" class="alert">
26
                            <li id="gna">
24
                                <p><strong>Sorry</strong>, you cannot place holds because the library doesn't have up-to-date <a href="/cgi-bin/koha/opac-memberentry.pl">contact information</a> on file.</p>
27
                                According to our records, we don't have up-to-date contact information. Please contact the library.
25
                                <p>Please contact your librarian, or use the <a href="/cgi-bin/koha/opac-memberentry.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)</p>
28
                                <a href="/cgi-bin/koha/opac-memberentry.pl">[% IF ( Koha.Preference('OPACPatronDetails') ) %]Update your contact information[% ELSE %]Go to your contact information[% END %]</a>
26
                            </div>
29
                                [% IF ( Koha.Preference('OPACPatronDetails') ) %]<em>(Please note: there may be a delay in restoring your account if you submit online.)</em>[% END %]
30
                            </li>
27
                        [% END %]
31
                        [% END %]
28
32
29
                        [% IF ( lost ) %]
33
                        [% IF ( lost ) %]
30
                            <div id="lost" class="alert">
34
                            <li id="lost">
31
                                <p><strong>Sorry</strong>, you cannot place holds because your library card has been marked as lost or stolen.</p>
35
                                Your library card has been marked as lost or stolen.<br />
32
                                <p>If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.</p>
36
                                <em>If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.</em>
33
                            </div>
37
                            </li>
34
                        [% END %]
38
                        [% END %]
35
39
36
                        [% IF ( debarred ) %]
40
                        [% IF ( debarred ) %]
37
                            <div id="debarred" class="alert">
41
                            <li id="debarred">
38
                                <p><strong>Sorry</strong>, you cannot place holds because your account has been frozen.</p>
42
                                Your account has been frozen.
39
                                <p>Usually the reason for freezing an account is old overdues or damage fees.   If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please consult a librarian.</p>
43
                                [% IF ( BORROWER_INF.debarredcomment ) %] Comment: <span id="userdebarred_comment">"[% BORROWER_INF.debarredcomment %]"</span>[% END %]
40
                            </div>
44
                                [% IF ( BORROWER_INF.userdebarreddate ) %] End date: <span id="userdebarred_date">[% BORROWER_INF.userdebarreddate | $KohaDates %]</span>[% END %]
45
                                <br /><em>Usually the reason for freezing an account is old overdues or damage fees. If shows your account to be clear, please contact the library.</em> <a href="/cgi-bin/koha/opac-account.pl">Go to your account page</a>
46
                            </li>
41
                        [% END %]
47
                        [% END %]
42
48
43
                        [% IF ( too_much_oweing ) %]
49
                        [% IF ( too_much_oweing ) %]
44
                            <div id="too_much_oweing" class="alert">
50
                            <li id="too_much_oweing">
45
                                Sorry, you cannot place holds because you owe [% too_much_oweing %].
51
                                You have unpaid fines. Amount: [% too_much_oweing | $Price %].
46
                            </div>
52
                            </li>
47
                        [% END %]
53
                        [% END %]
48
54
49
                        [% IF ( too_many_reserves ) %]
55
                        [% IF ( too_many_reserves ) %]
50
                            <div id="too_many_reserves" class="alert">
56
                            <li id="too_many_reserves">
51
                                Sorry, you cannot place more than [% too_many_reserves %] holds.
57
                                Sorry, you cannot place more than [% too_many_reserves %] holds.
52
                            </div>
58
                            </li>
53
                        [% END %]
59
                        [% END %]
54
60
55
                        [% IF ( bad_biblionumber ) %]
61
                        [% IF ( bad_biblionumber ) %]
56
                            <div id="bad_biblionumber" class="alert">
62
                            <li id="bad_biblionumber">
57
                                ERROR: No biblio record found for biblionumber [% bad_biblionumber %].</div>
63
                                ERROR: No biblio record found for biblionumber [% bad_biblionumber %].
64
                            </li>
58
                        [% END %]
65
                        [% END %]
59
66
60
                        [% IF ( no_items_selected ) %]
67
                        [% IF ( no_items_selected ) %]
61
                            <div id="no_items_selected" class="alert">
68
                            <li id="no_items_selected">
62
                                You must select at least one item.
69
                                You must select at least one item.
63
                            </div>
70
                            </li>
64
                        [% END %]
71
                        [% END %]
65
72
66
                        [% IF ( no_branch_selected ) %]
73
                        [% IF ( no_branch_selected ) %]
67
                            <div id="no_branch_selected" class="alert">
74
                            <li id="no_branch_selected">
68
                                You must select a library for pickup.
75
                                You must select a library for pickup.
69
                            </div>
76
                            </li>
70
                        [% END %]
77
                        [% END %]
71
78
72
                        [% IF ( no_biblionumber ) %]
79
                        [% IF ( no_biblionumber ) %]
73
                            <div id="no_biblionumber" class="alert">ERROR: No biblionumber received.</div>
80
                            <li id="no_biblionumber">
81
                               ERROR: No biblionumber received.
82
                           </li>
74
                        [% END %]
83
                        [% END %]
75
84
76
                        [% IF ( bad_data ) %]
85
                        [% IF ( bad_data ) %]
77
                            <div id="bad_data" class="alert">ERROR: Internal error: incomplete hold request.</div>
86
                            <li id="bad_data">
87
                                ERROR: Internal error: incomplete hold request.
88
                            </li>
78
                        [% END %]
89
                        [% END %]
79
90
80
                        [% IF ( expired_patron ) %]
91
                        [% IF ( expired_patron ) %]
81
                            <div id="expired_patron" class="alert"><strong>Sorry</strong>, you cannot place holds because your library card has expired.</p><p>Please contact your librarian if you wish to renew your card.</div>
92
                            <li id="expired_patron">
93
                                Your library card has expired. Please contact your librarian if you wish to renew your card.
94
                            </li>
82
                        [% END %]
95
                        [% END %]
83
96
84
                    [% ELSE %]
97
                    [% ELSE %]
85
98
86
                        [% IF ( none_available ) %]
99
                        [% IF ( none_available ) %]
87
                            <div id="none_available" class="alert"><strong>Sorry</strong>, none of these items can be placed on hold.
100
                            <div id="none_available" class="alert">
101
                                <strong>Sorry</strong>, none of these items can be placed on hold.
88
                            </div>
102
                            </div>
89
                        [% END %]
103
                        [% END %]
90
104
                </div>
91
                    [% END # / IF message %]
105
            [% END # / IF message %]
92
106
93
                    [% UNLESS ( message ) %]
107
                    [% UNLESS ( message ) %]
94
                        [% UNLESS ( none_available ) %]
108
                        [% UNLESS ( none_available ) %]
95
- 

Return to bug 15375