View | Details | Raw Unified | Return to bug 10950
Collapse All | Expand All

(-)a/Koha/Database/Columns.pm (+1 lines)
Lines 65-70 sub columns { Link Here
65
            "firstname"           => __("First name"),
65
            "firstname"           => __("First name"),
66
            "dateofbirth"         => __("Date of birth"),
66
            "dateofbirth"         => __("Date of birth"),
67
            "initials"            => __("Initials"),
67
            "initials"            => __("Initials"),
68
            "pronouns"            => __("Pronouns"),
68
            "othernames"          => __("Other name"),
69
            "othernames"          => __("Other name"),
69
            "sex"                 => __("Gender"),
70
            "sex"                 => __("Gender"),
70
            "relationship"        => __("Relationship"),
71
            "relationship"        => __("Relationship"),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc (+1 lines)
Lines 8-13 Link Here
8
     [%- CASE 'title' -%]<span>Salutation</span>
8
     [%- CASE 'title' -%]<span>Salutation</span>
9
     [%- CASE 'othernames' -%]<span>Other name</span>
9
     [%- CASE 'othernames' -%]<span>Other name</span>
10
     [%- CASE 'initials' -%]<span>Initials</span>
10
     [%- CASE 'initials' -%]<span>Initials</span>
11
     [%- CASE 'pronouns' -%]<span>Pronouns</span>
11
     [%- CASE 'streetnumber' -%]<span>Street number</span>
12
     [%- CASE 'streetnumber' -%]<span>Street number</span>
12
     [%- CASE 'streettype' -%]<span>Street type</span>
13
     [%- CASE 'streettype' -%]<span>Street type</span>
13
     [%- CASE 'address' -%]<span>Address</span>
14
     [%- CASE 'address' -%]<span>Address</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +16 lines)
Lines 267-273 legend:hover { Link Here
267
                            [% END %]
267
                            [% END %]
268
268
269
                            [% IF ( step_1 ) %]
269
                            [% IF ( step_1 ) %]
270
                                [% UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
270
                                [% UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex && nopronouns %]
271
                                    <fieldset class="rows" id="memberentry_identity">
271
                                    <fieldset class="rows" id="memberentry_identity">
272
                                        <legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
272
                                        <legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
273
                                        <ol>
273
                                        <ol>
Lines 375-380 legend:hover { Link Here
375
                                                        [% END %]
375
                                                        [% END %]
376
                                                    </li>
376
                                                    </li>
377
                                                [% END # /UNLESS noinitials %]
377
                                                [% END # /UNLESS noinitials %]
378
                                                [% UNLESS nopronouns %]
379
                                                    <li>
380
                                                        [% IF ( mandatorypronouns ) %]
381
                                                            <label for="pronouns" class="required">
382
                                                        [% ELSE %]
383
                                                            <label for="pronouns">
384
                                                        [% END %]
385
                                                            Pronouns:
386
                                                        </label>
387
                                                        <input type="text" id="pronouns" name="pronouns" size="20"  value="[% borrower_data.pronouns | html UNLESS opduplicate %]" />
388
                                                        [% IF ( mandatorypronouns ) %]
389
                                                            <span class="required">Required</span>
390
                                                        [% END %]
391
                                                    </li>
392
                                                [% END # /UNLESS nopronouns %]
378
                                            [% END #/UNLESS ( I ) %]
393
                                            [% END #/UNLESS ( I ) %]
379
                                            [% UNLESS noothernames %]
394
                                            [% UNLESS noothernames %]
380
                                                <li>
395
                                                <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt (+1 lines)
Lines 22-27 Link Here
22
[% CASE 'title'               %]<span>Title</span>
22
[% CASE 'title'               %]<span>Title</span>
23
[% CASE 'othernames'          %]<span>Other names</span>
23
[% CASE 'othernames'          %]<span>Other names</span>
24
[% CASE 'initials'            %]<span>Initials</span>
24
[% CASE 'initials'            %]<span>Initials</span>
25
[% CASE 'pronouns'            %]<span>Pronouns</span>
25
[% CASE 'streetnumber'        %]<span>Street number</span>
26
[% CASE 'streetnumber'        %]<span>Street number</span>
26
[% CASE 'streettype'          %]<span>Street type</span>
27
[% CASE 'streettype'          %]<span>Street type</span>
27
[% CASE 'address'             %]<span>Address</span>
28
[% CASE 'address'             %]<span>Address</span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-3 / +11 lines)
Lines 193-199 Link Here
193
193
194
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
194
                <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off">
195
195
196
                [% FOREACH field = ['streetnumber' 'streettype'  'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'dateofbirth' 'initials' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_streettype' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' ] %]
196
                [% FOREACH field = ['streetnumber' 'streettype'  'cardnumber' 'branchcode' 'categorycode' 'title' 'surname' 'firstname' 'dateofbirth' 'initials' 'pronouns' 'othernames' 'address' 'address2' 'city' 'state' 'zipcode' 'country' 'phone' 'phonepro' 'mobile' 'email' 'emailpro' 'fax' 'B_streettype' 'B_address' 'B_address2' 'B_city' 'B_state' 'B_zipcode' 'B_country' 'B_phone' 'B_email' 'contactnote' 'altcontactsurname' 'altcontactfirstname' 'altcontactaddress1' 'altcontactaddress2' 'altcontactaddress3' 'altcontactstate' 'altcontactzipcode' 'altcontactcountry' 'altcontactphone' 'password' ] %]
197
                    [% IF mandatory.defined( field ) %]
197
                    [% IF mandatory.defined( field ) %]
198
                        [% SET required.$field = 'required' %]
198
                        [% SET required.$field = 'required' %]
199
                    [% END %]
199
                    [% END %]
Lines 300-306 Link Here
300
                    [% END # / defined 'branchcode' %]
300
                    [% END # / defined 'branchcode' %]
301
301
302
                    [%# Following on one line for translatability %]
302
                    [%# Following on one line for translatability %]
303
                    [% UNLESS hidden.defined('title') && hidden.defined('surname') && hidden.defined('firstname') && hidden.defined('dateofbirth') && hidden.defined('initials') && hidden.defined('othernames') && hidden.defined('sex') %]
303
                    [% UNLESS hidden.defined('title') && hidden.defined('surname') && hidden.defined('firstname') && hidden.defined('dateofbirth') && hidden.defined('initials') && hidden.defined('pronouns')  && hidden.defined('othernames') && hidden.defined('sex') %]
304
                        <div class="row">
304
                        <div class="row">
305
                            <div class="col">
305
                            <div class="col">
306
                                <fieldset class="rows" id="memberentry_identity">
306
                                <fieldset class="rows" id="memberentry_identity">
Lines 362-367 Link Here
362
                                            </li>
362
                                            </li>
363
                                        [% END %]
363
                                        [% END %]
364
364
365
                                        [% UNLESS hidden.defined('pronouns') %]
366
                                            <li>
367
                                                <label for="borrower_pronouns" class="[% required.pronouns | html %]">Pronouns:</label>
368
369
                                                <input type="text" id="borrower_pronouns" name="borrower_pronouns" value="[% borrower.pronouns | html %]" class="[% required.prnouns | html %]" />
370
                                                <div class="required_label [% required.pronouns | html %]">Required</div>
371
                                            </li>
372
                                        [% END %]
373
365
                                        [% UNLESS hidden.defined('othernames') %]
374
                                        [% UNLESS hidden.defined('othernames') %]
366
                                            <li>
375
                                            <li>
367
                                                <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
376
                                                <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
368
- 

Return to bug 10950