Bugzilla – Attachment 118337 Details for
Bug 27940
Fix missing email in OpacMaintenance page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27940: Fix missing email in OpacMaintenance page
Bug-27940-Fix-missing-email-in-OpacMaintenance-pag.patch (text/plain), 2.11 KB, created by
Owen Leonard
on 2021-03-16 16:37:12 UTC
(
hide
)
Description:
Bug 27940: Fix missing email in OpacMaintenance page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-03-16 16:37:12 UTC
Size:
2.11 KB
patch
obsolete
>From 2308dfdf605a2c9beb5c77814f45e6c4af52a377 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Fri, 12 Mar 2021 11:28:02 +0100 >Subject: [PATCH] Bug 27940: Fix missing email in OpacMaintenance page > >To reproduce: > >KohaAdminEmailAddress = Some valid email address >OpacMaintenance = Show > >OPAC/cgi-bin/koha/maintenance.pl shows this text: > >"Koha online catalog is offline for system maintenance. We'll be back >soon! If you have any questions, please contact the site administrator." > >"site administrator" is a link, but it only links to "mailto:", the >actual email address from KohaAdminEmailAddress is missing. > >To test: >- Apply the patch >- Reload the maintenance page >- Click on the "site administrator" link and verify it contains the > address from KohaAdminEmailAddress > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >index 198fc584f6..f1a2c2fc6f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt >@@ -40,7 +40,7 @@ > [% Koha.Preference( 'OpacMaintenanceNotice' ) | $raw %] > [% ELSE %] > <h2>System Maintenance</h2> >- <p>The [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog is offline for system maintenance. We'll be back soon! If you have any questions, please contact the <a href="mailto:[% KohaAdminEmailAddress | uri %]">site administrator</a></p> >+ <p>The [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog is offline for system maintenance. We'll be back soon! If you have any questions, please contact the <a href="mailto:[% Koha.Preference( 'KohaAdminEmailAddress' ) | $raw %]">site administrator</a></p> > [% END %] > </div> > </div> >-- >2.11.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 27940
:
118184
|
118337
|
118812