Lines 68-108
Link Here
|
68 |
<li> |
68 |
<li> |
69 |
[% SWITCH fail %] |
69 |
[% SWITCH fail %] |
70 |
[% CASE 'damaged' %] |
70 |
[% CASE 'damaged' %] |
71 |
<span>Item is damaged</span> |
71 |
<span class="sco_damaged">Item is damaged</span> |
72 |
[% CASE 'ageRestricted' %] |
72 |
[% CASE 'ageRestricted' %] |
73 |
<span>The record and its items are age restricted</span> |
73 |
<span class="sco_agerestricted">The record and its items are age restricted</span> |
74 |
[% CASE 'tooManyHoldsForThisRecord' %] |
74 |
[% CASE 'tooManyHoldsForThisRecord' %] |
75 |
<span>You have exceeded the number of concurrent holds for this record</span> |
75 |
<span class="sco_toomanyholdsforthisrecord">You have exceeded the number of concurrent holds for this record</span> |
76 |
[% CASE 'tooManyReservesToday' %] |
76 |
[% CASE 'tooManyReservesToday' %] |
77 |
<span>You've reached your daily holds limit</span> |
77 |
<span class="sco_toomanyreservestoday">You've reached your daily holds limit</span> |
78 |
[% CASE 'tooManyReserves' %] |
78 |
[% CASE 'tooManyReserves' %] |
79 |
<span>You have too many holds already</span> |
79 |
<span class="sco_toomanyreserves">You have too many holds already</span> |
80 |
[% CASE 'notReservable' %] |
80 |
[% CASE 'notReservable' %] |
81 |
<span>Not holdable</span> |
81 |
<span class="sco_notreservable">Not holdable</span> |
82 |
[% CASE 'cannotReserveFromOtherBranches' %] |
82 |
[% CASE 'cannotReserveFromOtherBranches' %] |
83 |
<span>You are from a different library</span> |
83 |
<span class="sco_cannotreservefromotherbranches">You are from a different library</span> |
84 |
[% CASE 'branchNotInHoldGroup' %] |
84 |
[% CASE 'branchNotInHoldGroup' %] |
85 |
<span>Holds are not allowed from your library</span> |
85 |
<span class="sco_branchnotinholdgroup">Holds are not allowed from your library</span> |
86 |
[% CASE 'itemAlreadyOnHold' %] |
86 |
[% CASE 'itemAlreadyOnHold' %] |
87 |
<span>You already have a hold for this item</span> |
87 |
<span class="sco_itemalreadyonhold">You already have a hold for this item</span> |
88 |
[% CASE 'cannotBeTransferred' %] |
88 |
[% CASE 'cannotBeTransferred' %] |
89 |
<span>Cannot be transferred to pickup library</span> |
89 |
<span class="sco_cannotbetransferred">Cannot be transferred to pickup library</span> |
90 |
[% CASE 'pickupNotInHoldGroup' %] |
90 |
[% CASE 'pickupNotInHoldGroup' %] |
91 |
<span>The chosen pickup location is not allowed</span> |
91 |
<span class="sco_pickupnotinholdgroup">The chosen pickup location is not allowed</span> |
92 |
[% CASE 'noReservesAllowed' %] |
92 |
[% CASE 'noReservesAllowed' %] |
93 |
<span>No holds are allowed on this item</span> |
93 |
<span class="sco_noreservesallowed">No holds are allowed on this item</span> |
94 |
[% CASE 'libraryNotPickupLocation' %] |
94 |
[% CASE 'libraryNotPickupLocation' %] |
95 |
<span>Library is not a valid pickup location</span> |
95 |
<span class="sco_librarynotpickuplocation">Library is not a valid pickup location</span> |
96 |
[% CASE 'no_valid_pickup_location' %] |
96 |
[% CASE 'no_valid_pickup_location' %] |
97 |
<span>No valid pickup location</span> |
97 |
<span class="sco_no_valid_pickup_location">No valid pickup location</span> |
98 |
[% CASE 'notforloan' %] |
98 |
[% CASE 'notforloan' %] |
99 |
<span>Not for loan</span> |
99 |
<span class="sco_notforloan">Not for loan</span> |
100 |
[% CASE 'items_available' %] |
100 |
[% CASE 'items_available' %] |
101 |
<span>There are items available in the library, please visit to check them out</span> |
101 |
<span class="sco_items_available">There are items available in the library, please visit to check them out</span> |
102 |
[% CASE 'not_placed' %] |
102 |
[% CASE 'not_placed' %] |
103 |
<span>Error when placing hold, please report this to the library</span> |
103 |
<span class="sco_not_placed">Error when placing hold, please report this to the library</span> |
104 |
[% CASE %] |
104 |
[% CASE %] |
105 |
<span>Error: [% fail | html %]</span> |
105 |
<span class="sco_error_placing_hold">Error: [% fail | html %]</span> |
106 |
[% END %] |
106 |
[% END %] |
107 |
</li> |
107 |
</li> |
108 |
[% END %] |
108 |
[% END %] |
Lines 136-156
Link Here
|
136 |
<ul> |
136 |
<ul> |
137 |
[% FOREACH error IN RENEW_ERROR.split('\|') %] |
137 |
[% FOREACH error IN RENEW_ERROR.split('\|') %] |
138 |
[% IF error == 'card_expired' %] |
138 |
[% IF error == 'card_expired' %] |
139 |
<li>Your account has expired. Please contact the library for more information.</li> |
139 |
<li class="sco_renew_card_expired">Your account has expired. Please contact the library for more information.</li> |
140 |
[% ELSIF error == 'too_many' %] |
140 |
[% ELSIF error == 'too_many' %] |
141 |
<li>You have renewed this item the maximum number of times allowed.</li> |
141 |
<li class="sco_renew_too_many">You have renewed this item the maximum number of times allowed.</li> |
142 |
[% ELSIF error == 'too_unseen' %] |
142 |
[% ELSIF error == 'too_unseen' %] |
143 |
<li>You have renewed this item the maximum number of consecutive times without it being seen by the library.</li> |
143 |
<li class="sco_renew_too_unseen">You have renewed this item the maximum number of consecutive times without it being seen by the library.</li> |
144 |
[% ELSIF error == 'too_soon' %] |
144 |
[% ELSIF error == 'too_soon' %] |
145 |
<li>It is too soon after the checkout date for this item to be renewed.</li> |
145 |
<li class="sco_renew_too_soon">It is too soon after the checkout date for this item to be renewed.</li> |
146 |
[% ELSIF error == 'on_reserve' %] |
146 |
[% ELSIF error == 'on_reserve' %] |
147 |
<li>This item is on hold for another patron.</li> |
147 |
<li class="sco_renew_on_reserve">This item is on hold for another patron.</li> |
148 |
[% ELSIF error == 'item_denied_renewal' %] |
148 |
[% ELSIF error == 'item_denied_renewal' %] |
149 |
<li>Item renewal is not allowed.</li> |
149 |
<li class="sco_renew_item_denied_renewal">Item renewal is not allowed.</li> |
150 |
[% ELSIF error == 'item_issued_to_other_patron'%] |
150 |
[% ELSIF error == 'item_issued_to_other_patron'%] |
151 |
<li>This item is already checked out to another patron.</li> |
151 |
<li class="sco_renew_item_issued_to_other_patron">This item is already checked out to another patron.</li> |
152 |
[% ELSIF error == 'auto_too_soon' %] |
152 |
[% ELSIF error == 'auto_too_soon' %] |
153 |
<li>This item is scheduled for auto renewal.</li> |
153 |
<li class="sco_renew_auto_too_soon">This item is scheduled for auto renewal.</li> |
154 |
[% END %] |
154 |
[% END %] |
155 |
[% END %] |
155 |
[% END %] |
156 |
</ul> |
156 |
</ul> |
157 |
- |
|
|