Bugzilla – Attachment 52347 Details for
Bug 16718
Translatability: Fix problems with sentence splitting by use of strong tag in about.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16729: Use member-display-address-style*-includes when printing user summary
Bug-16729-Use-member-display-address-style-include.patch (text/plain), 2.04 KB, created by
Marc Véron
on 2016-06-14 05:19:02 UTC
(
hide
)
Description:
Bug 16729: Use member-display-address-style*-includes when printing user summary
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-06-14 05:19:02 UTC
Size:
2.04 KB
patch
obsolete
>From 98703a35a2ce623596668199da7efee5db135d16 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 14 Jun 2016 07:07:05 +0200 >Subject: [PATCH] Bug 16729: Use member-display-address-style*-includes when > printing user summary > >This patch replaces the address part in moremember-print.tt to print identical >address information as displayed on the screen (including street numer, formatted as required by syspref 'AddressFormat' > >To test: >- Apply patch >- Search for a user with all address information filled >- Verify that 'Print summmary' displays the same information > as displayed on the screen. >- Change value of syspref 'AdressFormat' >- Verify that address format on 'Print summary' changes > as appropriate > >https://bugs.koha-community.org/show_bug.cgi?id=16718 >--- > .../intranet-tmpl/prog/en/modules/members/moremember-print.tt | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >index 2100a1f..f087760 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >@@ -14,8 +14,11 @@ > <h3><a href="/cgi-bin/koha/circ/circulation.pl?findborrower=[% cardnumber %]">Account summary: [% firstname %] [% surname %] ([% cardnumber %])</a></h3> > > <ul> >- <li>[% address %]<br />[% address2 %]</li> >- <li>[% city %], [% zipcode %]</li> >+ [% IF Koha.Preference( 'AddressFormat' ) %] >+ [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] >+ [% ELSE %] >+ [% INCLUDE 'member-display-address-style-us.inc' %] >+ [% END %] > <li>[% IF ( phone ) %][% phone %][% ELSE %](no phone number on file)[% END %]</li> > <li>[% IF ( email ) %][% email %][% ELSE %](no primary email on file)[% END %]</li> > [% IF ( emailpro ) %] >-- >1.7.10.4
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 16718
:
52308
|
52309
|
52347
|
52413
|
52532