Bugzilla – Attachment 125893 Details for
Bug 29169
Wrong "daily limit" warning when article request is not available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29169: Fix wrong terminology when article request is not available
Bug-29169-Fix-wrong-terminology-when-article-reque.patch (text/plain), 2.50 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-10-07 15:03:06 UTC
(
hide
)
Description:
Bug 29169: Fix wrong terminology when article request is not available
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-10-07 15:03:06 UTC
Size:
2.50 KB
patch
obsolete
>From dfc681e659f24853760aa8c50ec2aa02613ad721 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >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 <tomascohen@theke.io> >--- > .../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 @@ > <div class="container-fluid maincontent"> > <div class="row"> > <div class="col"> >- [% IF !error_message && biblio.can_article_request( patron ) %] >+ [% IF error_message %] >+ <h1 class="title">[% biblio.title | html %]</h1> >+ <div class="alert alert-info"> >+ [% 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 %] >+ </div> >+ [% ELSIF biblio.can_article_request( patron ) %] > <h1>Place article request for [% biblio.title | html %]</h1> > [% IF ( disclaimer && !action) %] > <div class="alert alert-warning"> >@@ -216,14 +224,6 @@ > <input type="submit" class="btn btn-primary" value="Place request" /> > </form> > [% END %] >- [% ELSIF error_message %] >- <h1 class="title">[% biblio.title | html %]</h1> >- <div class="alert alert-info"> >- [% 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 %] >- </div> > [% ELSE %] > <h1 class="title">[% biblio.title | html %]</h1> > <div class="alert alert-info"> >-- >2.32.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29169
:
125893
|
125919