Lines 167-190
Link Here
|
167 |
[% IF !whole.stage || whole.stage == 'form' %] |
167 |
[% IF !whole.stage || whole.stage == 'form' %] |
168 |
<h1 id="ill-issue-title">Issue requested item to [% INCLUDE 'patron-title.inc' patron = request.patron %]</h1> |
168 |
<h1 id="ill-issue-title">Issue requested item to [% INCLUDE 'patron-title.inc' patron = request.patron %]</h1> |
169 |
[% IF !request.biblio_id || request.biblio_id.length == 0 %] |
169 |
[% IF !request.biblio_id || request.biblio_id.length == 0 %] |
170 |
<div class="alert">This item cannot be checked out as it has no bibliographic record associated with it</div> |
170 |
<div class="alert alert-warning">This item cannot be checked out as it has no bibliographic record associated with it</div> |
171 |
[% END %] |
171 |
[% END %] |
172 |
[% IF whole.value.errors.itemcount %] |
172 |
[% IF whole.value.errors.itemcount %] |
173 |
<div class="alert">The bibliographic record for this request has multiple items, it should only have one. Please fix this then try again.</div> |
173 |
<div class="alert alert-warning">The bibliographic record for this request has multiple items, it should only have one. Please fix this then try again.</div> |
174 |
[% END %] |
174 |
[% END %] |
175 |
[% IF whole.value.errors.item_creation %] |
175 |
[% IF whole.value.errors.item_creation %] |
176 |
<div class="alert">An unknown error occurred while trying to add an item</div> |
176 |
<div class="alert alert-warning">An unknown error occurred while trying to add an item</div> |
177 |
[% END %] |
177 |
[% END %] |
178 |
[% IF whole.value.errors.item_check_out %] |
178 |
[% IF whole.value.errors.item_check_out %] |
179 |
<div class="alert">An unknown error occurred while trying to check out the item</div> |
179 |
<div class="alert alert-warning">An unknown error occurred while trying to check out the item</div> |
180 |
[% END %] |
180 |
[% END %] |
181 |
[% IF whole.value.check_out_errors %] |
181 |
[% IF whole.value.check_out_errors %] |
182 |
[% IF whole.value.check_out_errors.error.STATS %] |
182 |
[% IF whole.value.check_out_errors.error.STATS %] |
183 |
<div class="alert"> |
183 |
<div class="alert alert-warning"> |
184 |
Local use recorded |
184 |
Local use recorded |
185 |
</div> |
185 |
</div> |
186 |
[% ELSE %] |
186 |
[% ELSE %] |
187 |
<div class="alert"> |
187 |
<div class="alert alert-warning"> |
188 |
There was a problem checking this item out, please check for problems with the <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% whole.value.patron.borrowernumber | uri %]">patron's account</a> |
188 |
There was a problem checking this item out, please check for problems with the <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% whole.value.patron.borrowernumber | uri %]">patron's account</a> |
189 |
</div> |
189 |
</div> |
190 |
[% END %] |
190 |
[% END %] |
Lines 314-329
Link Here
|
314 |
<h1>Place request with partner libraries</h1> |
314 |
<h1>Place request with partner libraries</h1> |
315 |
[% IF error %] |
315 |
[% IF error %] |
316 |
[% IF error == 'no_target_email' %] |
316 |
[% IF error == 'no_target_email' %] |
317 |
<div class="alert"> |
317 |
<div class="alert alert-warning"> |
318 |
No target email addresses found. Either select at least |
318 |
No target email addresses found. Either select at least |
319 |
one partner or check your ILL partner library records. |
319 |
one partner or check your ILL partner library records. |
320 |
</div> |
320 |
</div> |
321 |
[% ELSIF error == 'no_library_email' %] |
321 |
[% ELSIF error == 'no_library_email' %] |
322 |
<div class="alert"> |
322 |
<div class="alert alert-warning"> |
323 |
Your library has no usable email address. Please set it. |
323 |
Your library has no usable email address. Please set it. |
324 |
</div> |
324 |
</div> |
325 |
[% ELSIF error == 'unkown_error' %] |
325 |
[% ELSIF error == 'unkown_error' %] |
326 |
<div class="alert"> |
326 |
<div class="alert alert-warning"> |
327 |
Unknown error processing your request. Contact your administrator. |
327 |
Unknown error processing your request. Contact your administrator. |
328 |
</div> |
328 |
</div> |
329 |
[% END %] |
329 |
[% END %] |
Lines 531-537
Link Here
|
531 |
|
531 |
|
532 |
[% IF error %] |
532 |
[% IF error %] |
533 |
[% IF error == 'migrate_target' %] |
533 |
[% IF error == 'migrate_target' %] |
534 |
<div class="alert"> |
534 |
<div class="alert alert-warning"> |
535 |
The backend you tried to migrate to does not yet support migrations, please try again with an alternative target. |
535 |
The backend you tried to migrate to does not yet support migrations, please try again with an alternative target. |
536 |
</div> |
536 |
</div> |
537 |
[% END %] |
537 |
[% END %] |
Lines 545-551
Link Here
|
545 |
[% IF tran_success.match('sms') %] |
545 |
[% IF tran_success.match('sms') %] |
546 |
[% succ_methods.push('SMS') %] |
546 |
[% succ_methods.push('SMS') %] |
547 |
[% END %] |
547 |
[% END %] |
548 |
<div class="alert"> |
548 |
<div class="alert alert-warning"> |
549 |
The requested notice was queued for delivery by [% succ_methods.join(', ') | html %] |
549 |
The requested notice was queued for delivery by [% succ_methods.join(', ') | html %] |
550 |
</div> |
550 |
</div> |
551 |
[% END %] |
551 |
[% END %] |
Lines 557-563
Link Here
|
557 |
[% IF tran_fail.match('sms') %] |
557 |
[% IF tran_fail.match('sms') %] |
558 |
[% fail_methods.push('SMS') %] |
558 |
[% fail_methods.push('SMS') %] |
559 |
[% END %] |
559 |
[% END %] |
560 |
<div class="alert"> |
560 |
<div class="alert alert-warning"> |
561 |
The requested notice was NOT queued for delivery by [% fail_methods.join(', ') | html %] |
561 |
The requested notice was NOT queued for delivery by [% fail_methods.join(', ') | html %] |
562 |
</div> |
562 |
</div> |
563 |
[% END %] |
563 |
[% END %] |
Lines 877-883
Link Here
|
877 |
<input type="hidden" name="op" value="cud-create"> |
877 |
<input type="hidden" name="op" value="cud-create"> |
878 |
<input type="hidden" name="stage" value="form"> |
878 |
<input type="hidden" name="stage" value="form"> |
879 |
<input type="hidden" name="checked_availability" value="1"> |
879 |
<input type="hidden" name="checked_availability" value="1"> |
880 |
<div id="continue-request-row" class="alert"> |
880 |
<div id="continue-request-row" class="alert alert-warning"> |
881 |
If you can't find what you are looking for, you can |
881 |
If you can't find what you are looking for, you can |
882 |
<button class="button" type="submit">continue creating your request</button> or |
882 |
<button class="button" type="submit">continue creating your request</button> or |
883 |
<a href="/cgi-bin/koha/ill/ill-requests.pl">cancel your request</a> |
883 |
<a href="/cgi-bin/koha/ill/ill-requests.pl">cancel your request</a> |
884 |
- |
|
|