From 3bdeae3459f66b37c1a3c39002014c57914138ae Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 7 Oct 2021 12:02:24 -0300 Subject: [PATCH] Bug 29169: Fix wrong terminology when article request is not available Signed-off-by: Tomas Cohen Arazi Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- .../en/modules/opac-request-article.tt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt index 9dad25f038..dd646b4866 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt @@ -33,7 +33,15 @@
- [% IF !error_message && biblio.can_article_request( patron ) %] + [% IF error_message %] +

[% biblio.title | html %]

+
+ [% SWITCH error_message %] + [% CASE 'article_request_limit_reached' %]You reached your open article requests limit. + [% CASE 'article_request_unhandled_exception' %]An error has occurred. + [% END %] +
+ [% ELSIF biblio.can_article_request( patron ) %]

Place article request for [% biblio.title | html %]

[% IF ( disclaimer && !action) %]
@@ -216,14 +224,6 @@ [% END %] - [% ELSIF error_message %] -

[% biblio.title | html %]

-
- [% SWITCH error_message %] - [% CASE 'article_request_limit_reached' %]You reached your article requests daily limit. - [% CASE 'article_request_unhandled_exception' %]An error has occurred. - [% END %] -
[% ELSE %]

[% biblio.title | html %]

-- 2.39.5