From 6438df72872d88c263b4fa331c2d44adb0ac2fa4 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Mon, 14 Dec 2015 22:43:26 +0000 Subject: [PATCH] Bug 15373: Changing Zip to ZIP on OPAC and Intranet To test: 1) Login to OPAC --> You personal details. 2) Ensure it says 'ZIP/Postal Code' under Main Address, Alternate Address and Alternate Contact 3) Login to Staff interface --> Go to a member's page (ie koha/members/memberentry.pl) --> Details. 4) Ensure it says 'ZIP/Postal Code' under Alternate address and Alternative contact 5) Click Edit 6) Ensure it says 'ZIP/Postal Code' under Main Address, Alternate Address and Alternate Contact Signed-off-by: Barry Cannon Signed-off-by: Mark Tompsett NOTE: Tested together with second patch. Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 3da8abcfeff331d5022ee54bbf27ecfbc4ebe18c) Signed-off-by: Julian Maurice --- .../prog/en/includes/member-alt-address-style-de.inc | 2 +- .../prog/en/includes/member-alt-address-style-us.inc | 2 +- .../prog/en/includes/member-alt-contact-style-de.inc | 2 +- .../prog/en/includes/member-alt-contact-style-us.inc | 2 +- .../prog/en/includes/member-main-address-style-de.inc | 2 +- .../prog/en/includes/member-main-address-style-us.inc | 2 +- .../intranet-tmpl/prog/en/modules/members/members-update.tt | 6 +++--- .../intranet-tmpl/prog/en/modules/members/moremember.tt | 4 ++-- .../opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 6 +++--- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc index 0e3ec32f75..3893497c02 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc @@ -31,7 +31,7 @@ [% ELSE %] + ZIP/Postal code: [% IF ( mandatoryB_zipcode ) %]Required[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc index 34e8ccc872..e6b31ff864 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc @@ -55,7 +55,7 @@ [% ELSE %] + ZIP/Postal code: [% IF ( mandatoryB_zipcode ) %]Required[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc index 31bc204b85..2b9fb715b9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc @@ -55,7 +55,7 @@ [% ELSE %] + ZIP/Postal code: [% IF ( mandatoryaltcontactzipcode ) %]Required[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc index ec0d83f1c5..25fd731d1a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc @@ -79,7 +79,7 @@ [% ELSE %] + ZIP/Postal code: [% IF ( mandatoryaltcontactzipcode ) %]Required[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc index 96dbdde9f1..9cfe1ec87f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc @@ -66,7 +66,7 @@ [% ELSE %] + ZIP/Postal code: [% IF ( mandatoryzipcode ) %]Required[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc index 3b9a07955b..ac0a174c30 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc @@ -103,7 +103,7 @@ [% ELSE %] + ZIP/Postal code: [% IF ( mandatoryzipcode ) %]Required[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt index 1855e21ab6..beef7d08b2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt @@ -27,7 +27,7 @@ [% CASE 'address2' %]Address 2 [% CASE 'city' %]City [% CASE 'state' %]State -[% CASE 'zipcode' %]Zip code +[% CASE 'zipcode' %]ZIP/Postal code [% CASE 'country' %]Country [% CASE 'email' %]Email [% CASE 'phone' %]Primary phone @@ -41,7 +41,7 @@ [% CASE 'B_address2' %]Alternate address: Address 2 [% CASE 'B_city' %]Alternate address: City [% CASE 'B_state' %]Alternate address: State -[% CASE 'B_zipcode' %]Alternate address: Zip/postal code +[% CASE 'B_zipcode' %]Alternate address: ZIP/Postal code [% CASE 'B_email' %]Alternate address: Email [% CASE 'B_phone' %]Alternate address: Phone [% CASE 'contactnote' %]Alternate address: Contact note @@ -57,7 +57,7 @@ [% CASE 'altcontactaddress2' %]Alternate contact: Address 2 [% CASE 'altcontactaddress3' %]Alternate contact: City [% CASE 'altcontactstate' %]Alternate contact: State -[% CASE 'altcontactzipcode' %]Alternate contact: Zip code +[% CASE 'altcontactzipcode' %]Alternate contact: ZIP/Postal code [% CASE 'altcontactcountry' %]Alternate contact: Country [% CASE 'altcontactphone' %]Alternate contact: Phone [% CASE 'smsalertnumber' %]SMS alert number 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 802e35eb62..802eeaf196 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -388,7 +388,7 @@ function validate1(date) {
  • Address 2: [% B_address2 %]
  • City: [% B_city %]
  • [% IF ( B_state ) %]
  • State: [% B_state %]
  • [% END %] -
  • Zip/Postal code: [% B_zipcode %]
  • +
  • ZIP/Postal code: [% B_zipcode %]
  • [% IF ( B_country ) %]
  • Country: [% B_country %]
  • [% END %] [% IF ( B_phone ) %]
  • Phone: [% B_phone %]
  • [% END %] [% IF ( B_email ) %]
  • Email: [% B_email %]
  • [% END %] @@ -407,7 +407,7 @@ function validate1(date) {
  • Address 2: [% altcontactaddress2 %]
  • City: [% altcontactaddress3 %]
  • [% IF ( altcontactstate ) %]
  • State: [% altcontactstate %]
  • [% END %] -
  • Zip/Postal code: [% altcontactzipcode %]
  • +
  • ZIP/Postal code: [% altcontactzipcode %]
  • [% IF ( altcontactcountry ) %]
  • Country: [% altcontactcountry %]
  • [% END %] [% IF ( altcontactphone ) %]
  • Phone: [% altcontactphone %]
  • [% 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 ca35988123..6a894ab413 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -353,7 +353,7 @@ [% ELSE %] + ZIP/Postal code: [% IF mandatory.defined('zipcode') %]Required[% END %] @@ -545,7 +545,7 @@ [% ELSE %] + ZIP/Postal code: [% IF mandatory.defined('B_zipcode') %]Required[% END %] @@ -712,7 +712,7 @@ [% ELSE %] + ZIP/Postal code: [% IF mandatory.defined('altcontactzipcode') %]Required[% END %] -- 2.39.5