From 9600e6f0886f981abd699c7654328209ff69bfd8 Mon Sep 17 00:00:00 2001
From: Owen Leonard <oleonard@myacpl.org>
Date: Fri, 1 May 2020 12:06:03 +0000
Subject: [PATCH] Bug 13388: (follow-up) Remove display of email address

Since the email address configured for a library may not be the email
address libraries want to use as a contact email address the email
should not be displayed by default.

This patch removes display of the email address. Libraries may choose to
add the information to the opac_info column, so there is already a
built-in alternative.

To test, apply the patch and view the detail page for a library in your
system which has an email address configured. The email address should
not display on the page.
---
 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt
index 8d9680cade..caba1e923b 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt
@@ -57,9 +57,6 @@
             [% IF ( library.branchfax ) %]
                 <p>Fax: <span property="faxNumber">[% library.branchfax | html %]</span></p>
             [% END %]
-            [% IF ( library.branchemail ) %]
-                <p>Email: <a href="mailto:[% library.branchemail | url %]" property="email">[% library.branchemail | html %]</a></p>
-            [% END %]
             [% IF ( library.branchurl ) %]
                 <p><a href="[% library.branchurl | url %]" property="url">[% library.branchurl | html %]</a></p>
             [% END %]
-- 
2.11.0