]> git.koha-community.org Git - koha.git/commit
Bug 27940: Fix missing email in OpacMaintenance page
authorMagnus Enger <magnus@libriotech.no>
Fri, 12 Mar 2021 10:28:02 +0000 (11:28 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Apr 2021 16:51:37 +0000 (18:51 +0200)
commitdf3a8d25482e10c748a52cb0a7e66ecf9b854364
tree874aa458ee7f5cc279c3cacb5be12931a73b674b
parentdfe3753deeddb40610a27ccc48ad71110c2bb350
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/maintenance.tt