Bugzilla – Attachment 118812 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.17 KB, created by
Martin Renvoize (ashimema)
on 2021-03-25 14:34:52 UTC
(
hide
)
Description:
Bug 27940: Fix missing email in OpacMaintenance page
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-25 14:34:52 UTC
Size:
2.17 KB
patch
obsolete
>From afe7f6ad6e0745fc24ac44edb00aba0b2280dd13 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> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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.20.1
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