Bug 14652: change gender specification from "N/A" to "None specified"

To test:

Edit a patron in the intranet, note that the gender options are "Female," "Male," and "None specified"

Setting "None specified" should result in the gender not being shown on the patron detail page (unchanged functionality)

In the opac, log in and click the "your personal details" tab, and note that the gender options are "Female," "Male," and "None specified"

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
This commit is contained in:
Liz Rea 2015-08-06 11:03:43 +12:00 committed by Tomas Cohen Arazi
parent a1359d8b83
commit c6d24b15ce
2 changed files with 3 additions and 3 deletions

View file

@ -395,9 +395,9 @@
<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" /> <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
[% END %] [% END %]
[% IF ( none ) %] [% IF ( none ) %]
<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> <label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
[% ELSE %] [% ELSE %]
<label for="sex-none">N/A </label><input type="radio" name="sex" id="sex-none" value="" /> <label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" />
[% END %] [% END %]
[% ELSE %] [% ELSE %]
<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" /> <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />

View file

@ -244,7 +244,7 @@
<input type="radio" name="borrower_sex" id="sex-male" value="M" /> <input type="radio" name="borrower_sex" id="sex-male" value="M" />
[% END %] [% END %]
<label for="sex-none" class="radio inline">N/A:</label> <label for="sex-none" class="radio inline">None specified: </label>
[% IF borrower.sex == '' %] [% IF borrower.sex == '' %]
<input type="radio" name="borrower_sex" id="sex-none" value="" checked="checked" /> <input type="radio" name="borrower_sex" id="sex-none" value="" checked="checked" />
[% ELSE %] [% ELSE %]