Bug 27940: Fix missing email in OpacMaintenance page
authorMagnus Enger <magnus@libriotech.no>
Fri, 12 Mar 2021 10:28:02 +0000 (11:28 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 15 Apr 2021 10:22:07 +0000 (12:22 +0200)
commitd31f22c89a9b845265a6f47f11e6f3be977aa036
tree5e0c86ef5d9bf1c986965dd83819b857f4f65e4f
parent9906197508c6ad54d2bec459066c76065093eac0
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit df3a8d25482e10c748a52cb0a7e66ecf9b854364)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt