From b61f73c48832e0f10ca799aa49682da37f1f44a1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 31 Mar 2017 13:25:13 -0300 Subject: [PATCH] Bug 18349: Remove useless info in alert message Empty tags should be removed, and message id Note that not all error codes are covered here. Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- .../bootstrap/en/modules/sco/sco-main.tt | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt index f3d7eb5147..0ec7679fb2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -43,36 +43,32 @@

[% IF ( circ_error_UNKNOWN_BARCODE ) %] - MESSAGE 1: The system does not recognize this barcode. + The system does not recognize this barcode. [% ELSIF ( circ_error_max_loans_allowed ) %] - MESSAGE 2: You have checked out too many items and can't check out any more. + You have checked out too many items and can't check out any more. [% ELSIF ( circ_error_ISSUED_TO_ANOTHER ) %] - MESSAGE 3: This item is checked out to someone else. + This item is checked out to someone else. [% ELSIF ( circ_error_NO_MORE_RENEWALS ) %] - MESSAGE 4: You cannot renew this item again. + You cannot renew this item again. [% ELSIF ( circ_error_NOT_FOR_LOAN ) %] - MESSAGE 5: This item is not for loan. + This item is not for loan. [% ELSIF ( circ_error_DEBT ) %] - MESSAGE 6: You owe the library [% amount %] and cannot check out. + You owe the library [% amount %] and cannot check out. [% ELSIF ( circ_error_WTHDRAWN ) %] - MESSAGE 7: This item has been withdrawn from the collection. + This item has been withdrawn from the collection. [% ELSIF ( circ_error_RESTRICTED ) %] - MESSAGE 8: [% ELSIF ( circ_error_RESERVED ) %] - MESSAGE 9: This item is on hold for another patron. + This item is on hold for another patron. [% ELSIF ( circ_error_ITEMNOTSAMEBRANCH ) %] - MESSAGE 10: [% ELSIF ( circ_error_EXPIRED ) %] - MESSAGE 11: Your account has expired. + Your account has expired. [% ELSIF ( circ_error_DEBARRED ) %] - MESSAGE 12: Your account has been suspended. + Your account has been suspended. [% ELSIF ( circ_error_CARD_LOST ) %] - MESSAGE 13: This card has been declared lost. + This card has been declared lost. [% ELSIF ( circ_error_GNA ) %] - MESSAGE 14: [% ELSIF ( circ_error_INVALID_DATE ) %] - MESSAGE 15: - [% END # / IF circ_error_UNKNOWN_BARCODE %] + [% END %] Please see a member of the library staff.

-- 2.39.5