From f1ecfc7669f085c7577100db2902ac0de34b827e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 24 May 2011 13:00:29 -0400 Subject: [PATCH] Fix for Bug 5020 - on patron record sex should be gender Signed-off-by: Ian Walls Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/members/moremember-brief.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 4 +++- .../intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt | 4 ++-- 5 files changed, 8 insertions(+), 6 deletions(-) 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 9ad6dbd501..87c7a1d463 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 @@ -48,7 +48,7 @@ [% END %]
  • Initials: [% initials %]
  • Date of birth:[% dateofbirth %]
  • -
  • Sex:[% sex %]
  • [% END %] +
  • Gender:[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]
  • [% END %] [% IF ( printethnicityline ) %]
  • Ethnicity:[% ethnicity %]
  • Ethnicity notes: [% ethnotes %]
  • 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 8384dfb274..275cea6b24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -212,7 +212,9 @@ function validate1(date) { [% END %]
  • Initials: [% initials %]
  • Date of birth:[% dateofbirth %]
  • -
  • Sex:[% sex %]
  • [% END %] +
  • Gender: + [% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %] +
  • [% END %] [% IF ( printethnicityline ) %]
  • Ethnicity:[% ethnicity %]
  • Ethnicity notes: [% ethnotes %]
  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt index b177838c02..78f927bd5e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt @@ -209,7 +209,7 @@ - Sex + Gender 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 6c4f0c3063..cb091843a8 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userdetails.tt @@ -51,7 +51,7 @@ Card Number:[% cardnumber %] Identity Details DoB: [% IF ( dateofbirth ) %][% dateofbirth %][% ELSE %] [% END %] -Sex:[% IF ( sex ) %][% sex %][% ELSE %] [% END %] +Gender:[% IF ( sex ) %][% sex %][% ELSE %] [% END %] [% IF ( contactname ) %] 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 12fb53c5ff..9a6885190f 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-userupdate.tt @@ -66,7 +66,7 @@
    1. -
    2. [% IF ( BORROWER_INF.sex == 'F' ) %][% ELSE %][% END %] [% IF ( BORROWER_INF.sex == 'M' ) %][% ELSE %][% END %]
    3. @@ -126,7 +126,7 @@ Personal Information
      1. Date of Birth: [% BORROWER_INF.dateofbirth %]
      2. -
      3. Sex: +
      4. Gender: [% IF ( sex == 'F' ) %]Female[% END %] [% IF ( sex == 'M' ) %]Male[% END %]
      5. -- 2.39.5