Bugzilla – Attachment 147401 Details for
Bug 33048
Empty email link on error page when OPAC login not allowed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33048: Fix email link on error page when opac login not allowed
Bug-33048-Fix-email-link-on-error-page-when-opac-l.patch (text/plain), 1.82 KB, created by
Nick Clemens (kidclamp)
on 2023-02-24 20:52:04 UTC
(
hide
)
Description:
Bug 33048: Fix email link on error page when opac login not allowed
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-02-24 20:52:04 UTC
Size:
1.82 KB
patch
obsolete
>From 5a7078db6ec34c1859f96793bdd69ea363f62241 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 23 Feb 2023 00:43:31 +0000 >Subject: [PATCH] Bug 33048: Fix email link on error page when opac login not > allowed > >This change replaces a non-existent variable with the >KohaAdminEmailAddress syspref. > >Test plan: >0. Apply the patch >1. Go to http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=opacuserlogin >2. Set to "Don't allow" >3. In an incognito window, go to http://localhost:8080/cgi-bin/koha/opac-reportproblem.pl >4. Note that the "mailto" link for "Email" has the value from KohaAdminEmailAddress syspref > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >index 999e6aaa7e..c7029fcd19 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt >@@ -265,7 +265,7 @@ > [% ELSE %] > <h1>Logging on to the catalog has not been enabled by the library.</h1> > <ul> >- <li>To report this error, you can email the Koha Administrator.<a href="mailto:[% admin | uri %]">Email</a></li> >+ <li>To report this error, you can email the Koha Administrator. <a href="mailto:[% Koha.Preference( 'KohaAdminEmailAddress' ) | uri %]">Email</a></li> > <li>Use top menu bar to navigate to another part of Koha.</li> > </ul> > [% END # / IF opacuserlogin %] >-- >2.30.2
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 33048
:
147186
|
147227
| 147401