Bug 18349: [QA Follow-up] Add four missing error messages
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 7 Apr 2017 08:13:00 +0000 (10:13 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 12 Apr 2017 18:47:03 +0000 (18:47 +0000)
The error codes come from CanBookBeIssued.
The warnings speak for themselves. Note that the GNA message is similar
to the one used in opac-user.tt (gonenoaddress is translated to the patron
as contact information not up-to-date).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt

index 0ec7679..a2ed9c4 100644 (file)
                                 [% ELSIF ( circ_error_WTHDRAWN ) %]
                                     This item has been withdrawn from the collection.
                                 [% ELSIF ( circ_error_RESTRICTED ) %]
+                                    This item is restricted.
                                 [% ELSIF ( circ_error_RESERVED ) %]
                                     This item is on hold for another patron.
                                 [% ELSIF ( circ_error_ITEMNOTSAMEBRANCH ) %]
+                                    This item belongs to another branch.
                                 [% ELSIF ( circ_error_EXPIRED ) %]
                                     Your account has expired.
                                 [% ELSIF ( circ_error_DEBARRED ) %]
@@ -67,7 +69,9 @@
                                 [% ELSIF ( circ_error_CARD_LOST ) %]
                                     This card has been declared lost.
                                 [% ELSIF ( circ_error_GNA ) %]
+                                    Your contact information seems to be incomplete.
                                 [% ELSIF ( circ_error_INVALID_DATE ) %]
+                                    Due date is not valid.
                                 [% END %]
                                 Please see a member of the library staff.
                             </p>