From 17fd7b1be69dddcb981eae3a66d10b753f241b12 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 16 Jul 2014 14:21:28 -0400 Subject: [PATCH] Bug 9221 - contact note not showing The contents of the contact note field are not displayed on the patron detail page in the staff client. This patch corrects this. This patch also corrects the case of the "Contact note" label in the OPAC patron details form (Log in -> Your personal details). To test, apply the patch and edit a patron to add data to the contact note field. Save and view the detail page for that patron. The contents of the contact note field should appear under the alternate address data. In the OPAC the contact note field label should have correct capitalization. Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 5 ++++- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 74c89c9..e557fc3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -365,7 +365,10 @@ function validate1(date) {
  • Zip/Postal code: [% B_zipcode %]
  • [% IF ( B_country ) %]
  • Country: [% B_country %]
  • [% END %] [% IF ( B_phone ) %]
  • Phone: [% B_phone %]
  • [% END %] - [% IF ( B_email ) %]
  • Email: [% email %]
  • [% END %] + [% IF ( B_email ) %]
  • Email: [% email %]
  • [% END %] + [% IF ( contactnote ) %]
  • Contact note: [% contactnote %]
  • [% END %] + + [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 7f31c96..2d0b2e4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -576,7 +576,7 @@ [% ELSE %] + Contact note: [% IF mandatory.defined('contactnote') %]Required[% END %] -- 2.0.0.rc2