From 52cd6c6fc0c36a7a33c5a4ea0415a822f82a828f Mon Sep 17 00:00:00 2001 From: Magnus Enger 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 --- 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 %]

System Maintenance

-

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 site administrator

+

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 site administrator

[% END %] -- 2.11.0