@@ -, +, @@ - Fixed missing check for too_unseen in opac-user.tt, this test did used - Added test for too_unseen to all AUTO_RENEWAL notice templates apart --- installer/data/mysql/en/mandatory/sample_notices.yml | 2 ++ installer/data/mysql/fr-CA/obligatoire/sample_notices.sql | 2 ++ installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql | 2 ++ installer/data/mysql/it-IT/necessari/notices.sql | 2 ++ installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql | 2 ++ installer/data/mysql/pl-PL/mandatory/sample_notices.sql | 2 ++ installer/data/mysql/ru-RU/mandatory/sample_notices.sql | 2 ++ installer/data/mysql/uk-UA/mandatory/sample_notices.sql | 2 ++ koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 ++ 9 files changed, 18 insertions(+) --- a/installer/data/mysql/en/mandatory/sample_notices.yml +++ a/installer/data/mysql/en/mandatory/sample_notices.yml @@ -1204,6 +1204,8 @@ tables: - "It's too late to renew this item." - "[% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %]" - "Your total unpaid fines are too high." + - "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]" + - "This item must be renewed at the library." - "[% END %]" - "[% ELSE %]" - "The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %]" --- a/installer/data/mysql/fr-CA/obligatoire/sample_notices.sql +++ a/installer/data/mysql/fr-CA/obligatoire/sample_notices.sql @@ -285,6 +285,8 @@ You have overdue items. It\'s too late to renew this item. [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] Your total unpaid fines are too high. +[% ELSIF checkout.auto_renew_error == 'too_unseen' %] +This item must be renewed at the library. [% END %] [% ELSE %] The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] --- a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql +++ a/installer/data/mysql/fr-FR/1-Obligatoire/sample_notices.sql @@ -396,6 +396,8 @@ You have overdue items. It\'s too late to renew this item. [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] Your total unpaid fines are too high. +[% ELSIF checkout.auto_renew_error == 'too_unseen' %] +This item must be renewed at the library. [% END %] [% ELSE %] The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] --- a/installer/data/mysql/it-IT/necessari/notices.sql +++ a/installer/data/mysql/it-IT/necessari/notices.sql @@ -399,6 +399,8 @@ You have overdue items. It\'s too late to renew this item. [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] Your total unpaid fines are too high. +[% ELSIF checkout.auto_renew_error == 'too_unseen' %] +This item must be renewed at the library. [% END %] [% ELSE %] The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] --- a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql +++ a/installer/data/mysql/nb-NO/1-Obligatorisk/sample_notices.sql @@ -414,6 +414,8 @@ You have overdue items. It\'s too late to renew this item. [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] Your total unpaid fines are too high. +[% ELSIF checkout.auto_renew_error == 'too_unseen' %] +This item must be renewed at the library. [% END %] [% ELSE %] The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] --- a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql +++ a/installer/data/mysql/pl-PL/mandatory/sample_notices.sql @@ -393,6 +393,8 @@ You have overdue items. It\'s too late to renew this item. [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] Your total unpaid fines are too high. +[% ELSIF checkout.auto_renew_error == 'too_unseen' %] +This item must be renewed at the library. [% END %] [% ELSE %] The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] --- a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql +++ a/installer/data/mysql/ru-RU/mandatory/sample_notices.sql @@ -395,6 +395,8 @@ You have overdue items. It\'s too late to renew this item. [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] Your total unpaid fines are too high. +[% ELSIF checkout.auto_renew_error == 'too_unseen' %] +This item must be renewed at the library. [% END %] [% ELSE %] The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] --- a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql +++ a/installer/data/mysql/uk-UA/mandatory/sample_notices.sql @@ -486,6 +486,8 @@ You have overdue items. It\'s too late to renew this item. [% ELSIF checkout.auto_renew_error == 'auto_too_much_oweing' %] Your total unpaid fines are too high. +[% ELSIF checkout.auto_renew_error == 'too_unseen' %] +This item must be renewed at the library. [% END %] [% ELSE %] The following item, [% biblio.title %], has correctly been renewed and is now due on [% checkout.date_due | $KohaDates as_due_date => 1 %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -378,6 +378,8 @@ Not renewable (on hold) [% ELSIF ( ISSUE.too_many ) %] Not renewable + [% ELSIF ( ISSUE.too_unseen ) %] + Item must be renewed at the library. [% ISSUE.renewsleft | html %] renewals remaining [% ELSIF ( ISSUE.norenew_overdue ) %] Not allowed (overdue) [% ELSIF ( ISSUE.auto_too_late ) %] --