Bug 9416: (follow-up) fix neworderempty and templates
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / patroncards-errors.inc
1 [% IF ( error ) %]
2 <div class="dialog alert">
3   <p>
4     <strong>WARNING:</strong>
5         [% IF ( error == 101 ) %]
6         The database returned an error while [% IF ( card_element ) %]saving [% card_element %] [% element_id %][% ELSE %]attempting a save operation[% END %]. Please have your system administrator check the error log for details.
7         [% ELSIF ( error == 102 ) %]
8         The database returned an error while [% IF ( card_element ) %]deleting [% card_element %] [% element_id %][% ELSIF ( image_ids ) %][% image_ids %][% ELSE %]attempting a delete operation[% END %]. Please have your system administrator check the error log for details.
9         [% ELSIF ( error == 201 ) %]
10         An unsupported operation was attempted[% IF ( element_id ) %] on [% card_element %] [% element_id %][% END %]. Please have your system administrator check the error log for details.
11         [% ELSIF ( error == 202 ) %]
12         An error has occurred. Please ask your system administrator to check the error log for more details.
13         [% ELSIF ( error == 203 ) %]
14         A non-existent or invalid library code was supplied. Please <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">verify</a> that you have a library selected.
15         [% ELSIF ( error == 301 ) %]
16         An error has occurred while attempting to upload the image file. Please ask you system administrator to check the error log for more details.
17         [% ELSIF ( error == 302 ) %]
18         Image exceeds 500KB. Please resize and import again.
19         [% ELSIF ( error == 303 ) %]
20         The database image quota currently only allows a maximum of [% image_limit %] images to be stored at any one time. Please delete one or more images to free up quota space.
21         [% ELSIF ( error == 401 ) %]
22         An error has occurred and the item(s) was not added to batch [% batch_id %]. Please have your system administrator check the error log for details.
23         [% ELSIF ( error == 402 ) %]
24         The item(s) was not added because the library is not set. Please set your library before adding items to a batch.
25         [% ELSIF ( error == 403 ) %]
26         An error has occurred and the item(s) was not removed from batch [% batch_id %]. Please have your system administrator check the error log for details.
27         [% ELSIF ( error == 404 ) %]
28         An error has occurred and batch [% batch_id %] was not deleted.  Please have your system administrator check the error log for details.
29         [% ELSIF ( error == 405 ) %]
30         An error has occurred and batch [% batch_id %] not fully de-duplicated.
31         [% ELSE %]
32         [% END %]
33   </p>
34 </div>
35 [% END %]