Bugzilla – Attachment 113788 Details for
Bug 27051
opac-library.tt should include email
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27051: Add email to OPAC library page
Bug-27051-Add-email-to-OPAC-library-page.patch (text/plain), 1.35 KB, created by
Lucas Gass
on 2020-11-18 14:55:54 UTC
(
hide
)
Description:
Bug 27051: Add email to OPAC library page
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2020-11-18 14:55:54 UTC
Size:
1.35 KB
patch
obsolete
>From 8468ad7bba665954763314ae25a3474695c9066c Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 18 Nov 2020 14:54:17 +0000 >Subject: [PATCH] Bug 27051: Add email to OPAC library page > >Test plan: >1. Add some branch emails via /cgi-bin/koha/admin/branches.pl >2. Go to the OPAC and opac-library.pl, notice there emails are not listed >3. Apply patch >4. Reloda opac-library.pl and you should see the branch email addresses. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt | 3 +++ > 1 file changed, 3 insertions(+) > >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 bd9a7744aa..40198ba1ab 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-library.tt >@@ -56,6 +56,9 @@ > [% 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27051
:
113787
| 113788