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

(-)a/Koha/Database/Columns.pm (+1 lines)
Lines 66-71 sub columns { Link Here
66
            "middle_name"         => __("Middle name"),
66
            "middle_name"         => __("Middle name"),
67
            "dateofbirth"         => __("Date of birth"),
67
            "dateofbirth"         => __("Date of birth"),
68
            "initials"            => __("Initials"),
68
            "initials"            => __("Initials"),
69
            "pronouns"            => __("Pronouns"),
69
            "othernames"          => __("Other name"),
70
            "othernames"          => __("Other name"),
70
            "sex"                 => __("Gender"),
71
            "sex"                 => __("Gender"),
71
            "relationship"        => __("Relationship"),
72
            "relationship"        => __("Relationship"),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc (+1 lines)
Lines 9-14 Link Here
9
     [%- CASE 'title' -%]<span>Salutation</span>
9
     [%- CASE 'title' -%]<span>Salutation</span>
10
     [%- CASE 'othernames' -%]<span>Other name</span>
10
     [%- CASE 'othernames' -%]<span>Other name</span>
11
     [%- CASE 'initials' -%]<span>Initials</span>
11
     [%- CASE 'initials' -%]<span>Initials</span>
12
     [%- CASE 'pronouns' -%]<span>Pronouns</span>
12
     [%- CASE 'streetnumber' -%]<span>Street number</span>
13
     [%- CASE 'streetnumber' -%]<span>Street number</span>
13
     [%- CASE 'streettype' -%]<span>Street type</span>
14
     [%- CASE 'streettype' -%]<span>Street type</span>
14
     [%- CASE 'address' -%]<span>Address</span>
15
     [%- CASE 'address' -%]<span>Address</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +16 lines)
Lines 266-272 legend:hover { Link Here
266
                            [% END %]
266
                            [% END %]
267
267
268
                            [% IF ( step_1 ) %]
268
                            [% IF ( step_1 ) %]
269
                                [% UNLESS notitle && nosurname && nofirstname && nomiddle_name && nodateofbirth && noinitials && noothernames &&nosex %]
269
                                [% UNLESS notitle && nosurname && nofirstname && nomiddle_name && nodateofbirth && noinitials && noothernames &&nosex && nopronouns %]
270
                                    <fieldset class="rows" id="memberentry_identity">
270
                                    <fieldset class="rows" id="memberentry_identity">
271
                                        <legend id="identity_lgd">[% IF ( patron_category.category_type == 'I' ) %]<span>Organization</span> [% ELSE %]<span>Patron</span> [% END %]<span>identity</span></legend>
271
                                        <legend id="identity_lgd">[% IF ( patron_category.category_type == 'I' ) %]<span>Organization</span> [% ELSE %]<span>Patron</span> [% END %]<span>identity</span></legend>
272
                                        <ol>
272
                                        <ol>
Lines 389-394 legend:hover { Link Here
389
                                                        [% END %]
389
                                                        [% END %]
390
                                                    </li>
390
                                                    </li>
391
                                                [% END # /UNLESS noinitials %]
391
                                                [% END # /UNLESS noinitials %]
392
                                                [% UNLESS nopronouns %]
393
                                                    <li>
394
                                                        [% IF ( mandatorypronouns ) %]
395
                                                            <label for="pronouns" class="required">
396
                                                        [% ELSE %]
397
                                                            <label for="pronouns">
398
                                                        [% END %]
399
                                                            Pronouns:
400
                                                        </label>
401
                                                        <input type="text" id="pronouns" name="pronouns" size="20"  value="[% borrower_data.pronouns | html UNLESS opduplicate %]" />
402
                                                        [% IF ( mandatorypronouns ) %]
403
                                                            <span class="required">Required</span>
404
                                                        [% END %]
405
                                                    </li>
406
                                                [% END # /UNLESS nopronouns %]
392
                                            [% END #/UNLESS ( I ) %]
407
                                            [% END #/UNLESS ( I ) %]
393
                                            [% UNLESS noothernames %]
408
                                            [% UNLESS noothernames %]
394
                                                <li>
409
                                                <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt (+1 lines)
Lines 23-28 Link Here
23
[% CASE 'title'               %]<span>Title</span>
23
[% CASE 'title'               %]<span>Title</span>
24
[% CASE 'othernames'          %]<span>Other names</span>
24
[% CASE 'othernames'          %]<span>Other names</span>
25
[% CASE 'initials'            %]<span>Initials</span>
25
[% CASE 'initials'            %]<span>Initials</span>
26
[% CASE 'pronouns'            %]<span>Pronouns</span>
26
[% CASE 'streetnumber'        %]<span>Street number</span>
27
[% CASE 'streetnumber'        %]<span>Street number</span>
27
[% CASE 'streettype'          %]<span>Street type</span>
28
[% CASE 'streettype'          %]<span>Street type</span>
28
[% CASE 'address'             %]<span>Address</span>
29
[% 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' 'middle_name' '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' 'middle_name' '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('middle_name') && 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('middle_name') && hidden.defined('dateofbirth') && hidden.defined('initials')  && hidden.definded('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 371-376 Link Here
371
                                            </li>
371
                                            </li>
372
                                        [% END %]
372
                                        [% END %]
373
373
374
                                        [% UNLESS hidden.defined('pronouns') %]
375
                                            <li>
376
                                                <label for="borrower_pronouns" class="[% required.pronouns | html %]">Pronouns:</label>
377
378
                                                <input type="text" id="borrower_pronouns" name="borrower_pronouns" value="[% borrower.pronouns | html %]" class="[% required.prnouns | html %]" />
379
                                                <div class="required_label [% required.pronouns | html %]">Required</div>
380
                                            </li>
381
                                        [% END %]
382
374
                                        [% UNLESS hidden.defined('othernames') %]
383
                                        [% UNLESS hidden.defined('othernames') %]
375
                                            <li>
384
                                            <li>
376
                                                <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
385
                                                <label for="borrower_othernames" class="[% required.othernames | html %]">Other names:</label>
377
- 

Return to bug 10950