Bugzilla – Attachment 183684 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: Report Problem page.
Bug-40283-Report-Problem-page.patch (text/plain), 1.95 KB, created by
Nina Martinez
on 2025-07-02 07:50:21 UTC
(
hide
)
Description:
Bug 40283: Report Problem page.
Filename:
MIME Type:
Creator:
Nina Martinez
Created:
2025-07-02 07:50:21 UTC
Size:
1.95 KB
patch
obsolete
>From 501c3f8c68304cfac0c80df377bd25ccc70738f9 Mon Sep 17 00:00:00 2001 >From: nina martinez <nina.martinez@biblibre.com> >Date: Wed, 18 Jun 2025 15:32:52 +0200 >Subject: [PATCH] Bug 40283: Report Problem page. > >Test plan: > >1. Allow the system preference: OPACReportProblem, and entry an email in ReplytoDefault >2. Log in to a patron account. >3. Try to send a problem to a librarian. A message of confirmation should appear: "Your problem report has been sent to the library". Inspect the html code and notice that there is a role="status" in the message tag. >4. Remake step 3 but with a Koha administrator. >--- > .../opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >index 197f9aa89c..45cd3a6d27 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reportproblem.tt >@@ -51,9 +51,9 @@ > [% SWITCH m.code %] > [% CASE 'success_on_send' %] > [% IF recipient == 'admin' %] >- <span>Your problem report has been sent to the Koha administrator.</span> >+ <span role="status">Your problem report has been sent to the Koha administrator.</span> > [% ELSE %] >- <span>Your problem report has been sent to the library.</span> >+ <span role="status">Your problem report has been sent to the library.</span> > [% END %] > [% CASE 'error_on_send' #We really should avoid reaching this! %] > <span>Something wrong happened when sending the report. Please contact your library.</span> >-- >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