From 9b04fab7dc0ca4cc01e1adaf77aaf6a7c86a35be Mon Sep 17 00:00:00 2001 From: Baptiste Wojtkowski Date: Fri, 24 Mar 2017 12:47:42 +0000 Subject: [PATCH] Bug 18110: Corrected display address format - minor changes on address format - corrected member-password so that steetnumber is given to the template Signed-off-by: Aleisha Amohia Signed-off-by: Jonathan Druart --- .../includes/member-display-address-style-fr.inc | 5 ++--- .../en/includes/member-main-address-style-fr.inc | 23 +++++++++++----------- members/member-password.pl | 1 + 3 files changed, 14 insertions(+), 15 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 5d4f197..07fc74b 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,15 +1,14 @@ [% IF ( address or address2 ) %] [% IF ( address ) %] +
  • [% SET roadtype_desc = '' %] [% IF streettype %] [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', streettype) %] [% END %] -
  • [% IF streetnumber %] [% streetnumber %][% END %] [%IF roadtype_desc %] [% roadtype_desc %][% END %] + [% address %]
  • -
  • [% address %] -
  • [% END %] [% IF ( address2 ) %]
  • [% address2 %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-fr.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-fr.inc index e666ef9..4e8dc80 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-fr.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-fr.inc @@ -1,18 +1,17 @@
    Main address
      -[% UNLESS nostreetnumber %] -
    1. - [% IF ( mandatorystreetnumber ) %] -
    2. -[% END %] [% UNLESS nostreettype %] + [% UNLESS nostreetnumber %] + [% IF ( mandatorystreetnumber ) %] +