Browse Source

Bug 25364: Undo change to 'None specified'

As this has been a little controversial, this patch undoes
the change to "None specified / Prefer not to say" to be
"None specified" again as before this patch set.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Katrin Fischer 4 years ago
committed by Jonathan Druart
parent
commit
274075a63f
  1. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
  2. 2
      koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt

6
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

@ -394,15 +394,15 @@ legend:hover {
<label for="sex-other"><input type="radio" name="sex" id="sex-other" value="O" /><span class="patronsex-other"> Other</span></label>
[% END %]
[% IF ( none ) %]
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /><span class="patronsex-none"> None specified / Prefer not to say</span></label>
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /><span class="patronsex-none"> None specified</span></label>
[% ELSE %]
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /><span class="patronsex-none"> None specified / Prefer not to say</span></label>
<label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /><span class="patronsex-none"> None specified</span></label>
[% END %]
[% ELSE %]
<label for="sex-female"><span class="patronsex-female">Female </span></label><input type="radio" name="sex" id="sex-female" value="F" />
<label for="sex-male"><span class="patronsex-male">Male </span></label><input type="radio" name="sex" id="sex-male" value="M" />
<label for="sex-other"><span class="patronsex-other">Other </span></label><input type="radio" name="sex" id="sex-other" value="O" />
<label for="sex-none"><span class="patronsex-none">None specified / Prefer not to say </span></label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
<label for="sex-none"><span class="patronsex-none">None specified </span></label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
[% END # /UNLESS ( opduplicate )%]
</li>
[% END # /UNLESS nosex %]

2
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt

@ -394,7 +394,7 @@
[% END %]
<label for="sex-none" class="radio inline"><span class="patronsex-none">None specified / Prefer not to say:</span></label>
<label for="sex-none" class="radio inline"><span class="patronsex-none">None specified:</span></label>
[% IF borrower.sex == '' %]
<input type="radio" name="borrower_sex" id="sex-none" value="" checked="checked" />
[% ELSE %]

Loading…
Cancel
Save