From d3ca3435a2cbfc1e9a95aa99fa8294992c088fe5 Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Wed, 16 Jul 2014 14:21:28 -0400 Subject: [PATCH] [PASSED QA] 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 <jonathan.druart@biblibre.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works as described. --- 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) { <li><span class="label">Zip/Postal code: </span>[% B_zipcode %]</li> [% IF ( B_country ) %]<li><span class="label">Country: </span>[% B_country %]</li>[% END %] [% IF ( B_phone ) %]<li><span class="label">Phone: </span>[% B_phone %]</li>[% END %] - [% IF ( B_email ) %]<li><span class="label">Email: </span><a href="mailto:[% B_email %]">[% email %]</a></li>[% END %]</ol></div> + [% IF ( B_email ) %]<li><span class="label">Email: </span><a href="mailto:[% B_email %]">[% email %]</a></li>[% END %] + [% IF ( contactnote ) %]<li><span class="label">Contact note: </span> [% contactnote %]</li>[% END %] + </ol> + </div> </div> <div class="action"><a href="memberentry.pl?op=modify&borrowernumber=[% borrowernumber %]&step=6">Edit</a></div> [% 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 %] <label for="borrower_contactnote"> [% END %] - Contact Note:</label> + Contact note:</label> <textarea id="borrower_contactnote" name="borrower_contactnote" cols="30" rows="2">[% borrower.contactnote %]</textarea> [% IF mandatory.defined('contactnote') %]<span class="required">Required</span>[% END %] -- 1.9.1