From 0c509e463e88557e434e7b0b2e00f3dcc02eb5ce Mon Sep 17 00:00:00 2001 From: Nicole C. Engard Date: Tue, 9 Aug 2011 11:20:47 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 5252 - Phone labels on patron creation Content-Type: text/plain; charset="utf-8" The labels for emails on the patron forms say 'primary' and 'secondary.' This patch does the same thing for the phones. phone is now 'Primary phone', mobile is now 'Secondary phone', and 'phonepro' is now 'Other phone'. This way the type of phone does not matter and the phone that the patron wants to be called at the most is the 'primary.' This is just a step in the direction of fixing Bug 5252, not a complete fix. This patch also updated a stray reference to Home Email. Both the OPAC and staff client are updated with this patch. Signed-off-by: Nicole C. Engard Signed-off-by: Owen Leonard --- .../prog/en/modules/members/memberentrygen.tt | 6 +++--- .../prog/en/modules/members/moremember-brief.tt | 14 +++++++------- .../prog/en/modules/members/moremember.tt | 14 +++++++------- .../opac-tmpl/prog/en/modules/opac-userdetails.tt | 4 ++-- .../opac-tmpl/prog/en/modules/opac-userupdate.tt | 12 ++++++------ 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 236295d..eea4d25 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -480,7 +480,7 @@ [% ELSE %] + Primary Phone: [% IF ( mandatoryphone ) %]Required[% END %]
Shows on transit slips
@@ -491,7 +491,7 @@ [% ELSE %] + Secondary Phone: [% IF ( mandatoryphonepro ) %]Required[% END %] @@ -501,7 +501,7 @@ [% ELSE %] + Other Phone: [% IF ( mandatorymobile ) %]Required[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt index 87c7a1d..6341705 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt @@ -32,19 +32,19 @@ [% IF ( phonepro ) %]
  • Organization phone: [% phonepro %]
  • [% END %] [% IF ( emailpro ) %]
  • Organization email: [% emailpro %]
  • [% END %] [% ELSE %] - [% IF ( phone ) %]
  • Home: [% phone %]
  • [% END %] - [% IF ( mobile ) %]
  • Mobile: [% mobile %]
  • [% END %] - [% IF ( phonepro ) %]
  • Work: [% phonepro %]
  • [% END %] + [% IF ( phone ) %]
  • Primary phone: [% phone %]
  • [% END %] + [% IF ( mobile ) %]
  • Secondary phone: [% mobile %]
  • [% END %] + [% IF ( phonepro ) %]
  • Other phone: [% phonepro %]
  • [% END %] [% END %] [% IF ( P ) %] - [% IF ( phone ) %]
  • Professional phone: [% phone %]
  • [% END %] - [% IF ( mobile ) %]
  • Professional mobile: [% mobile %]
  • [% END %] + [% IF ( phone ) %]
  • Primary phone: [% phone %]
  • [% END %] + [% IF ( mobile ) %]
  • Secondary mobile: [% mobile %]
  • [% END %] [% END %] [% IF ( fax ) %]
  • Fax: [% fax %]
  • [% END %] [% UNLESS ( I ) %] - [% IF ( email ) %]
  • Email (home):[% email %]
  • [% END %] - [% IF ( emailpro ) %]
  • Email (work): [% emailpro %]
  • [% END %] + [% IF ( email ) %]
  • Primary email:[% email %]
  • [% END %] + [% IF ( emailpro ) %]
  • Secondary email: [% emailpro %]
  • [% END %] [% END %]
  • Initials: [% initials %]
  • Date of birth:[% dateofbirth %]
  • 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 67286bf..cfa75ca 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -196,19 +196,19 @@ function validate1(date) { [% IF ( phonepro ) %]
  • Organization phone: [% phonepro %]
  • [% END %] [% IF ( emailpro ) %]
  • Organization email: [% emailpro %]
  • [% END %] [% ELSE %] - [% IF ( phone ) %]
  • Home: [% phone %]
  • [% END %] - [% IF ( mobile ) %]
  • Mobile: [% mobile %]
  • [% END %] - [% IF ( phonepro ) %]
  • Work: [% phonepro %]
  • [% END %] + [% IF ( phone ) %]
  • Primary phone: [% phone %]
  • [% END %] + [% IF ( mobile ) %]
  • Secondary phone: [% mobile %]
  • [% END %] + [% IF ( phonepro ) %]
  • Other phone: [% phonepro %]
  • [% END %] [% END %] [% IF ( P ) %] - [% IF ( phone ) %]
  • Professional phone: [% phone %]
  • [% END %] - [% IF ( mobile ) %]
  • Professional mobile: [% mobile %]
  • [% END %] + [% IF ( phone ) %]
  • Primary phone: [% phone %]
  • [% END %] + [% IF ( mobile ) %]
  • Secondary phone: [% mobile %]
  • [% END %] [% END %] [% IF ( fax ) %]
  • Fax: [% fax %]
  • [% END %] [% UNLESS ( I ) %] - [% IF ( email ) %]
  • Email (home):[% email %]
  • [% END %] - [% IF ( emailpro ) %]
  • Email (work): [% emailpro %]
  • [% END %] + [% IF ( email ) %]
  • Primary email:[% email %]
  • [% END %] + [% IF ( emailpro ) %]
  • Secondary email: [% emailpro %]
  • [% END %] [% END %]
  • Initials: [% initials %]
  • Date of birth:[% dateofbirth %]
  • diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt index cb09184..734ba93 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt @@ -23,9 +23,9 @@ Card Number:[% cardnumber %] Permanent Address: [% B_address %], [% B_address2 %], [% B_city %] -Phone (Home):[% IF ( phone ) %][% phone %][% ELSE %] [% END %] +Primary Phone:[% IF ( phone ) %][% phone %][% ELSE %] [% END %] -Phone (Daytime):[% IF ( mobile ) %][% mobile %][% ELSE %] [% END %] +Secondary Phone:[% IF ( mobile ) %][% mobile %][% ELSE %] [% END %] Fax:[% IF ( fax ) %][% fax %][% ELSE %] [% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt index 9a68851..db5f7f5 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt @@ -34,9 +34,9 @@
  • -
  • -
  • -
  • +
  • +
  • +
  • @@ -113,9 +113,9 @@
  • State: [% BORROWER_INF.state %]
  • Zip Code: [% BORROWER_INF.zipcode %]
  • Country: [% BORROWER_INF.country %]
  • -
  • Home Phone: [% BORROWER_INF.phone %]
  • -
  • Mobile Phone: [% BORROWER_INF.mobile %]
  • -
  • Work phone: [% BORROWER_INF.phonepro %]
  • +
  • Primary Phone: [% BORROWER_INF.phone %]
  • +
  • Secondary Phone: [% BORROWER_INF.mobile %]
  • +
  • Other Phone: [% BORROWER_INF.phonepro %]
  • Fax: [% BORROWER_INF.fax %]
  • Primary Email: [% BORROWER_INF.email %]
  • Secondary Email: [% BORROWER_INF.emailpro %]
  • -- 1.7.3