Bugzilla – Attachment 61656 Details for
Bug 18110
Adds FR to the syspref AddressFormat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18110: Folllowup to fix alternative address and add missing class
Bug-18110-Folllowup-to-fix-alternative-address-and.patch (text/plain), 3.25 KB, created by
Marc Véron
on 2017-03-28 07:33:04 UTC
(
hide
)
Description:
Bug 18110: Folllowup to fix alternative address and add missing class
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-03-28 07:33:04 UTC
Size:
3.25 KB
patch
obsolete
>From d417d115692efcbe025870bed6d3975cfa82c942 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 28 Mar 2017 09:20:47 +0200 >Subject: [PATCH] Bug 18110: Folllowup to fix alternative address and add > missing class > >This patch fixes the display of alternative address (streetnumber, streettype >and address on same line, see comment #22, and it adds missing class >patronaddress1 to main address display. > >To test: >- Create / edit a customer to have streetnumber, streettype and address in > both main address and alternate address >- Switch syspref addressformat ot French style >- Verify that both main address and alternate address display as expected > on patron's detail page (street number, street type and address on same > line) >--- > .../prog/en/includes/member-display-address-style-fr.inc | 3 +-- > .../prog/en/includes/member-display-alt-address-style-fr.inc | 10 +++++----- > 2 files changed, 6 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-address-style-fr.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-address-style-fr.inc >index 531a89d..14cc17b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-address-style-fr.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-address-style-fr.inc >@@ -1,11 +1,10 @@ > [% IF ( address or address2 ) %] > [% IF ( address ) %] >- <li> > [% SET roadtype_desc = '' %] > [% IF streettype %] > [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', streettype) %] > [% END %] >- [% IF streetnumber %][% streetnumber %] [% END %] >+ <li class="patronaddress1">[% IF streetnumber %][% streetnumber %] [% END %] > [%IF roadtype_desc %][% roadtype_desc %] [% END %] > [% address %] > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-fr.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-fr.inc >index fa98ba4..f2625bd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-fr.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-alt-address-style-fr.inc >@@ -1,20 +1,20 @@ > [% IF ( B_address or B_address2 ) %] > [% IF ( B_address ) %] > [% SET roadtype_desc = '' %] >- [% IF B_streetnumber %] [% B_streetnumber %][% END %] > [% IF B_streettype %] > [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', B_streettype) %] > [% END %] >- <li class="patronaddress1">[% B_address %] >- [%IF roadtype_desc %] [% roadtype_desc %][% END %] >+ <li class="patronaddress1">[% IF B_streetnumber %][% B_streetnumber %][% END %] >+ [%IF roadtype_desc %][% roadtype_desc %] [% END %] >+ [% B_address %] > </li> > [% END %] > [% IF ( B_address2 ) %] > <li class="patronaddress2">[% B_address2 %]</li> > [% END %] > [% END %] >-[% IF ( B_city ) %]<li class="patroncity"> >- [%IF ( B_zipcode ) %][% B_zipcode %] [% END %] >+[% IF ( B_city ) %] >+ <li class="patroncity">[%IF ( B_zipcode ) %][% B_zipcode %] [% END %] > [% B_city %] > [% IF ( B_state ) %]</br>[% B_state %][% END %] > [% IF ( B_country ) %]<br />[% B_country %][% END %]</li> >-- >2.1.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 18110
:
60176
|
60214
|
60215
|
60426
|
60657
|
60689
|
60690
|
60694
|
60695
|
61610
|
61639
|
61650
|
61651
|
61652
|
61656
|
61796
|
62651
|
62652
|
62664
|
62740
|
62741
|
62742
|
62743
|
62744
|
62745