https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23540
Bug ID: 23540
Summary: Gender 'N' is not translatable
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Patrons of type 'I' (institution) automatically get their sex/gender set to 'N'
(which is short for "None"), but the 'N' is not translatable and actually shows
up in the patron details page.
Relevant code in memberentrygen.tt:
[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
The template code for showing the gender text should be unified into single
included file, instead of spread over multiple places like:
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt:
[% IF ( patron.sex == 'F' ) %]Female[% ELSIF
( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex | html %][% END %]
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-brief.tt:
[% IF ( patron.sex ) %]<li><span class="label">Gender:</span>[% IF (
patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][%
patron.sex | html %][% END %]</li>[% END %]
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/