Bugzilla – Attachment 183670 Details for
Bug 40283
Accessibility of the status message in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40283: Article request page.
Bug-40283-Article-request-page.patch (text/plain), 2.12 KB, created by
Nina Martinez
on 2025-07-01 15:10:43 UTC
(
hide
)
Description:
Bug 40283: Article request page.
Filename:
MIME Type:
Creator:
Nina Martinez
Created:
2025-07-01 15:10:43 UTC
Size:
2.12 KB
patch
obsolete
>From f57a43c4cbdd1d71a18f60872ab8fcd8df435629 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Mon, 30 Jun 2025 11:31:54 +0200 >Subject: [PATCH] Bug 40283: Article request page. > >Test plan: > >1- Enable the system preference: ArticleRequests. >2- Go to Circulation and Rules in the staff interface (in the Administration page, click on Circulation and Rules) and set an article request limit. >3- Reach your article requests limit, a message should appear. Inspect the HTML code and notice that there is a role="alert" in the message tag. >4- Go back to Circulation an dRules in the staff interface and choose "No" for "Article requests". Try to male an article request, a message should appear. Inspect the html and notice that there si a role="alert". >--- > .../opac-tmpl/bootstrap/en/modules/opac-request-article.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 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 93d32fba7a..f12f59f34f 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,7 @@ > <div class="col"> > [% IF error_message %] > <h1 class="title">[% biblio.title | html %]</h1> >- <div class="alert alert-info"> >+ <div class="alert alert-info" role="alert"> > [% SWITCH error_message %] > [% CASE 'article_request_limit_reached' %] > <span>You reached your open article requests limit.</span> >@@ -241,7 +241,7 @@ > [% END %] > [% ELSE %] > <h1 class="title">[% biblio.title | html %]</h1> >- <div class="alert alert-info"> No article requests can be made for this record. </div> >+ <div class="alert alert-info" role="alert"> No article requests can be made for this record. </div> > [% END %] > </div> > <!-- /.col --> >-- >2.43.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 40283
:
183665
|
183666
|
183667
|
183668
|
183669
|
183670
|
183671
|
183672
|
183673
|
183674
|
183683
|
183684
|
183685
|
183686
|
183689
|
183690
|
183691
|
183692
|
183693
|
183694
|
183695
|
183696
|
183697
|
183698
|
183699
|
183700
|
183701