From d31f22c89a9b845265a6f47f11e6f3be977aa036 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 Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart (cherry picked from commit df3a8d25482e10c748a52cb0a7e66ecf9b854364) Signed-off-by: Fridolin Somers --- 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.39.5