Bugzilla – Attachment 30107 Details for
Bug 9221
contact note not showing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9221 - contact note not showing
Bug-9221---contact-note-not-showing.patch (text/plain), 3.02 KB, created by
Jonathan Druart
on 2014-07-25 13:49:22 UTC
(
hide
)
Description:
Bug 9221 - contact note not showing
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-07-25 13:49:22 UTC
Size:
3.02 KB
patch
obsolete
>From 17fd7b1be69dddcb981eae3a66d10b753f241b12 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <jonathan.druart@biblibre.com> >--- > 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 %] >-- >2.0.0.rc2
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 9221
:
29770
|
30107
|
30164