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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style.inc (-12 / +12 lines)
Lines 63-70 Link Here
63
    [% IF roadtypes.count %]
63
    [% IF roadtypes.count %]
64
        [% UNLESS noB_streettype %]
64
        [% UNLESS noB_streettype %]
65
            <li>
65
            <li>
66
                <label for="B_streettype" [% IF mandatoryB_streettype %]class="required"[% END %]>Street type: </label>
66
                <label for="B_streettype" id="B_streettype_label" [% IF mandatoryB_streettype %]class="required"[% END %]>Street type: </label>
67
                <select name="B_streettype">
67
                <select name="B_streettype" id="B_streettype">
68
                    <option value=""></option>
68
                    <option value=""></option>
69
                    [% FOR roadtype IN roadtypes %]
69
                    [% FOR roadtype IN roadtypes %]
70
                        [% IF roadtype.authorised_value == patron.B_streettype %]
70
                        [% IF roadtype.authorised_value == patron.B_streettype %]
Lines 83-89 Link Here
83
[% BLOCK 'alt-address-style_B_address' %]
83
[% BLOCK 'alt-address-style_B_address' %]
84
    [% UNLESS noB_address %]
84
    [% UNLESS noB_address %]
85
        <li>
85
        <li>
86
            <label for="B_address" [% IF mandatoryB_address %]class="required"[% END %]>Address: </label>
86
            <label for="B_address" id="B_address_label" [% IF mandatoryB_address %]class="required"[% END %]>Address: </label>
87
            <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" />
87
            <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" />
88
            [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
88
            [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
89
        </li>
89
        </li>
Lines 93-99 Link Here
93
[% BLOCK 'alt-address-style_B_streetnumber' %]
93
[% BLOCK 'alt-address-style_B_streetnumber' %]
94
    [% UNLESS noB_streetnumber %]
94
    [% UNLESS noB_streetnumber %]
95
        <li>
95
        <li>
96
            <label for="B_streetnumber" [% IF mandatoryB_streetnumber %]class="required"[% END %]>Street number: </label>
96
            <label for="B_streetnumber" id="B_streetnumber_label" [% IF mandatoryB_streetnumber %]class="required"[% END %]>Street number: </label>
97
            <input type="text" id="B_streetnumber" name="B_streetnumber" value="[% patron.B_streetnumber | html %]" />
97
            <input type="text" id="B_streetnumber" name="B_streetnumber" value="[% patron.B_streetnumber | html %]" />
98
            [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
98
            [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
99
        </li>
99
        </li>
Lines 103-109 Link Here
103
[% BLOCK 'alt-address-style_B_address2' %]
103
[% BLOCK 'alt-address-style_B_address2' %]
104
    [% UNLESS noB_address2 %]
104
    [% UNLESS noB_address2 %]
105
        <li>
105
        <li>
106
            <label for="B_address2" [% IF mandatoryB_address2 %]class="required"[% END %]>Address 2: </label>
106
            <label for="B_address2" id="B_address2_label" [% IF mandatoryB_address2 %]class="required"[% END %]>Address 2: </label>
107
            <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" />
107
            <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" />
108
            [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
108
            [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
109
        </li>
109
        </li>
Lines 113-119 Link Here
113
[% BLOCK 'alt-address-style_B_zipcode' %]
113
[% BLOCK 'alt-address-style_B_zipcode' %]
114
    [% UNLESS noB_zipcode %]
114
    [% UNLESS noB_zipcode %]
115
        <li>
115
        <li>
116
            <label for="B_zipcode" [% IF mandatoryB_zipcode %]class="required"[% END %]>ZIP/Postal code: </label>
116
            <label for="B_zipcode" id="B_zipcode_label" [% IF mandatoryB_zipcode %]class="required"[% END %]>ZIP/Postal code: </label>
117
            <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" />
117
            <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" />
118
            [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
118
            [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
119
        </li>
119
        </li>
Lines 123-129 Link Here
123
[% BLOCK 'alt-address-style_B_city' %]
123
[% BLOCK 'alt-address-style_B_city' %]
124
    [% UNLESS noB_city %]
124
    [% UNLESS noB_city %]
125
        <li>
125
        <li>
126
            <label for="B_city" [% IF mandatoryB_city %]class="required"[% END %]>City: </label>
126
            <label for="B_city" id="B_city_label" [% IF mandatoryB_city %]class="required"[% END %]>City: </label>
127
            [% IF cities.count %]
127
            [% IF cities.count %]
128
                <select class="select_city" data-addressfield="B_" name="select_city">
128
                <select class="select_city" data-addressfield="B_" name="select_city">
129
                    <option value="|||"></option>
129
                    <option value="|||"></option>
Lines 147-153 Link Here
147
[% BLOCK 'alt-address-style_B_state' %]
147
[% BLOCK 'alt-address-style_B_state' %]
148
    [% UNLESS noB_state %]
148
    [% UNLESS noB_state %]
149
        <li>
149
        <li>
150
            <label for="B_state" [% IF mandatoryB_state %]class="required"[% END %]>State: </label>
150
            <label for="B_state" id="B_state_label" [% IF mandatoryB_state %]class="required"[% END %]>State: </label>
151
            <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" />
151
            <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" />
152
            [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
152
            [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
153
        </li>
153
        </li>
Lines 157-163 Link Here
157
[% BLOCK 'alt-address-style_B_country' %]
157
[% BLOCK 'alt-address-style_B_country' %]
158
    [% UNLESS noB_country %]
158
    [% UNLESS noB_country %]
159
        <li>
159
        <li>
160
            <label for="B_country" [% IF mandatoryB_country %]class="required"[% END %]>Country: </label>
160
            <label for="B_country" id="B_country_label" [% IF mandatoryB_country %]class="required"[% END %]>Country: </label>
161
            <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" />
161
            <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" />
162
            [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
162
            [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
163
        </li>
163
        </li>
Lines 167-173 Link Here
167
[% BLOCK 'alt-address-style_B_phone' %]
167
[% BLOCK 'alt-address-style_B_phone' %]
168
    [% UNLESS noB_phone %]
168
    [% UNLESS noB_phone %]
169
        <li>
169
        <li>
170
            <label for="B_phone" [% IF mandatoryB_phone %]class="required"[% END %]>Phone: </label>
170
            <label for="B_phone" id="B_phone_label" [% IF mandatoryB_phone %]class="required"[% END %]>Phone: </label>
171
            <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" />
171
            <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" />
172
            [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
172
            [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
173
        </li>
173
        </li>
Lines 177-183 Link Here
177
[% BLOCK 'alt-address-style_B_email' %]
177
[% BLOCK 'alt-address-style_B_email' %]
178
    [% UNLESS noB_email %]
178
    [% UNLESS noB_email %]
179
        <li>
179
        <li>
180
            <label for="B_email" [% IF mandatoryB_email %]class="required"[% END %]>Email: </label>
180
            <label for="B_email" id="B_email_label" [% IF mandatoryB_email %]class="required"[% END %]>Email: </label>
181
            [% IF ( NoUpdateEmail ) %]
181
            [% IF ( NoUpdateEmail ) %]
182
                <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" disabled="disabled" />
182
                <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" disabled="disabled" />
183
            [% ELSE %]
183
            [% ELSE %]
Lines 191-197 Link Here
191
[% BLOCK 'alt-address-style_B_contactnote' %]
191
[% BLOCK 'alt-address-style_B_contactnote' %]
192
    [% UNLESS nocontactnote %]
192
    [% UNLESS nocontactnote %]
193
        <li>
193
        <li>
194
            <label for="contactnote" [% IF mandatorycontactnote %]class="required"[% END %]>Contact note: </label>
194
            <label for="contactnote" id="contactnote_label" [% IF mandatorycontactnote %]class="required"[% END %]>Contact note: </label>
195
            <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote | html %]</textarea>
195
            <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote | html %]</textarea>
196
            [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
196
            [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
197
        </li>
197
        </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style.inc (-10 / +10 lines)
Lines 54-60 Link Here
54
[% BLOCK 'alt-contact-style_altcontactsurname' %]
54
[% BLOCK 'alt-contact-style_altcontactsurname' %]
55
    [% UNLESS noaltcontactsurname %]
55
    [% UNLESS noaltcontactsurname %]
56
        <li>
56
        <li>
57
            <label for="altcontactsurname" [% IF mandatoryaltcontactsurname %]class="required"[% END %]>Surname: </label>
57
            <label for="altcontactsurname" id="altcontactsurname_label" [% IF mandatoryaltcontactsurname %]class="required"[% END %]>Surname: </label>
58
            <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname | html %]" />
58
            <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname | html %]" />
59
            [% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
59
            [% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
60
        </li>
60
        </li>
Lines 64-70 Link Here
64
[% BLOCK 'alt-contact-style_altcontactfirstname' %]
64
[% BLOCK 'alt-contact-style_altcontactfirstname' %]
65
    [% UNLESS noaltcontactfirstname %]
65
    [% UNLESS noaltcontactfirstname %]
66
        <li>
66
        <li>
67
            <label for="altcontactfirstname" [% IF mandatoryaltcontactfirstname %]class="required"[% END %]>First name: </label>
67
            <label for="altcontactfirstname" id="altcontactfirstname_label" [% IF mandatoryaltcontactfirstname %]class="required"[% END %]>First name: </label>
68
            <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname | html %]" />
68
            <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname | html %]" />
69
            [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
69
            [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
70
        </li>
70
        </li>
Lines 74-80 Link Here
74
[% BLOCK 'alt-contact-style_altcontactaddress1' %]
74
[% BLOCK 'alt-contact-style_altcontactaddress1' %]
75
    [% UNLESS noaltcontactaddress1 %]
75
    [% UNLESS noaltcontactaddress1 %]
76
        <li>
76
        <li>
77
            <label for="altcontactaddress1" [% IF mandatoryaltcontactaddress1 %]class="required"[% END %]>Address: </label>
77
            <label for="altcontactaddress1" id="altcontactaddress1_label" [% IF mandatoryaltcontactaddress1 %]class="required"[% END %]>Address: </label>
78
            <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 | html %]" size="40" />
78
            <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 | html %]" size="40" />
79
            [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
79
            [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
80
        </li>
80
        </li>
Lines 84-90 Link Here
84
[% BLOCK 'alt-contact-style_altcontactaddress2' %]
84
[% BLOCK 'alt-contact-style_altcontactaddress2' %]
85
    [% UNLESS noaltcontactaddress2 %]
85
    [% UNLESS noaltcontactaddress2 %]
86
        <li>
86
        <li>
87
            <label for="altcontactaddress2" [% IF mandatoryaltcontactaddress2 %]class="required"[% END %]>Address 2: </label>
87
            <label for="altcontactaddress2" id="altcontactaddress2_label" [% IF mandatoryaltcontactaddress2 %]class="required"[% END %]>Address 2: </label>
88
            <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 | html %]" size="40" />
88
            <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 | html %]" size="40" />
89
            [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
89
            [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
90
        </li>
90
        </li>
Lines 94-100 Link Here
94
[% BLOCK 'alt-contact-style_altcontactzipcode' %]
94
[% BLOCK 'alt-contact-style_altcontactzipcode' %]
95
    [% UNLESS noaltcontactzipcode %]
95
    [% UNLESS noaltcontactzipcode %]
96
        <li>
96
        <li>
97
            <label for="altcontactzipcode" [% IF mandatoryaltcontactzipcode %]class="required"[% END %]>ZIP/Postal code: </label>
97
            <label for="altcontactzipcode" id="altcontactzipcode_label" [% IF mandatoryaltcontactzipcode %]class="required"[% END %]>ZIP/Postal code: </label>
98
            <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode | html %]" size="5" />
98
            <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode | html %]" size="5" />
99
            [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
99
            [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
100
        </li>
100
        </li>
Lines 104-112 Link Here
104
[% BLOCK 'alt-contact-style_altcontactaddress3' %]
104
[% BLOCK 'alt-contact-style_altcontactaddress3' %]
105
    [% UNLESS noaltcontactaddress3 %]
105
    [% UNLESS noaltcontactaddress3 %]
106
        <li>
106
        <li>
107
            <label for="altcontactaddress3" [% IF mandatoryaltcontactaddress3 %]class="required"[% END %]>City: </label>
107
            <label for="altcontactaddress3" id="altcontactaddress3_label" [% IF mandatoryaltcontactaddress3 %]class="required"[% END %]>City: </label>
108
            [% IF cities.count %]
108
            [% IF cities.count %]
109
                <select class="select_city" data-addressfield="altcontact" name="select_city">
109
                <select class="select_city" data-addressfield="altcontact" name="select_city" id="altcontactaddress3">
110
                    <option value="|||"></option>
110
                    <option value="|||"></option>
111
                    [% FOREACH c IN cities %]
111
                    [% FOREACH c IN cities %]
112
                        [% SET option_value = c.city_zipcode _ '|' _ c.city_name _ '|' _ c.city_state _ '|' _ c.city_country %]
112
                        [% SET option_value = c.city_zipcode _ '|' _ c.city_name _ '|' _ c.city_state _ '|' _ c.city_country %]
Lines 128-134 Link Here
128
[% BLOCK 'alt-contact-style_altcontactstate' %]
128
[% BLOCK 'alt-contact-style_altcontactstate' %]
129
    [% UNLESS noaltcontactstate %]
129
    [% UNLESS noaltcontactstate %]
130
        <li>
130
        <li>
131
            <label for="altcontactstate" [% IF mandatoryaltcontactstate %]class="required"[% END %]>State: </label>
131
            <label for="altcontactstate" id="altcontactstate_label" [% IF mandatoryaltcontactstate %]class="required"[% END %]>State: </label>
132
            <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate | html %]" size="20" />
132
            <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate | html %]" size="20" />
133
            [% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
133
            [% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
134
        </li>
134
        </li>
Lines 138-144 Link Here
138
[% BLOCK 'alt-contact-style_altcontactcountry' %]
138
[% BLOCK 'alt-contact-style_altcontactcountry' %]
139
    [% UNLESS noaltcontactcountry %]
139
    [% UNLESS noaltcontactcountry %]
140
        <li>
140
        <li>
141
            <label for="altcontactcountry" [% IF mandatoryaltcontactcountry %]class="required"[% END %]>Country: </label>
141
            <label for="altcontactcountry" id="altcontactcountry_label" [% IF mandatoryaltcontactcountry %]class="required"[% END %]>Country: </label>
142
            <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry | html %]" size="20" />
142
            <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry | html %]" size="20" />
143
            [% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
143
            [% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
144
        </li>
144
        </li>
Lines 148-154 Link Here
148
[% BLOCK 'alt-contact-style_altcontactphone' %]
148
[% BLOCK 'alt-contact-style_altcontactphone' %]
149
    [% UNLESS noaltcontactphone %]
149
    [% UNLESS noaltcontactphone %]
150
        <li>
150
        <li>
151
            <label for="altcontactphone" [% IF mandatoryaltcontactphone %]class="required"[% END %]>Phone: </label>
151
            <label for="altcontactphone" id="altcontactphone_label" [% IF mandatoryaltcontactphone %]class="required"[% END %]>Phone: </label>
152
            <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone | html %]" />
152
            <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone | html %]" />
153
            [% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
153
            [% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
154
        </li>
154
        </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style.inc (-9 / +9 lines)
Lines 54-61 Link Here
54
    [% IF roadtypes.count %]
54
    [% IF roadtypes.count %]
55
        [% UNLESS nostreettype %]
55
        [% UNLESS nostreettype %]
56
            <li>
56
            <li>
57
                <label for="streettype" [% IF mandatorystreettype %]class="required"[% END %]>Street type: </label>
57
                <label for="streettype" id="streettype_label" [% IF mandatorystreettype %]class="required"[% END %]>Street type: </label>
58
                <select name="streettype">
58
                <select name="streettype" id="streettype">
59
                    <option value=""></option>
59
                    <option value=""></option>
60
                    [% FOR roadtype IN roadtypes %]
60
                    [% FOR roadtype IN roadtypes %]
61
                        [% IF roadtype.authorised_value == patron.streettype %]
61
                        [% IF roadtype.authorised_value == patron.streettype %]
Lines 74-80 Link Here
74
[% BLOCK 'address-style_address' %]
74
[% BLOCK 'address-style_address' %]
75
    [% UNLESS noaddress %]
75
    [% UNLESS noaddress %]
76
        <li>
76
        <li>
77
            <label for="address" [% IF mandatoryaddress %]class="required"[% END %]>Address: </label>
77
            <label for="address" id="address_label" [% IF mandatoryaddress %]class="required"[% END %]>Address: </label>
78
            <input type="text" id="address" name="address" size="40" value="[% patron.address | html %]" />
78
            <input type="text" id="address" name="address" size="40" value="[% patron.address | html %]" />
79
            [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
79
            [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
80
        </li>
80
        </li>
Lines 84-90 Link Here
84
[% BLOCK 'address-style_streetnumber' %]
84
[% BLOCK 'address-style_streetnumber' %]
85
    [% UNLESS nostreetnumber %]
85
    [% UNLESS nostreetnumber %]
86
        <li>
86
        <li>
87
            <label for="streetnumber" [% IF mandatorystreetnumber %]class="required"[% END %]>Street number: </label>
87
            <label for="streetnumber" id="streetnumber_label" [% IF mandatorystreetnumber %]class="required"[% END %]>Street number: </label>
88
            <input type="text" id="streetnumber" name="streetnumber" value="[% patron.streetnumber | html %]" />
88
            <input type="text" id="streetnumber" name="streetnumber" value="[% patron.streetnumber | html %]" />
89
            [% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
89
            [% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
90
        </li>
90
        </li>
Lines 94-100 Link Here
94
[% BLOCK 'address-style_address2' %]
94
[% BLOCK 'address-style_address2' %]
95
    [% UNLESS noaddress2 %]
95
    [% UNLESS noaddress2 %]
96
        <li>
96
        <li>
97
            <label for="address2" [% IF mandatoryaddress2 %]class="required"[% END %]>Address 2: </label>
97
            <label for="address2" id="address2_label" [% IF mandatoryaddress2 %]class="required"[% END %]>Address 2: </label>
98
            <input type="text" id="address2" name="address2" size="40" value="[% patron.address2 | html %]" />
98
            <input type="text" id="address2" name="address2" size="40" value="[% patron.address2 | html %]" />
99
            [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
99
            [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
100
        </li>
100
        </li>
Lines 104-110 Link Here
104
[% BLOCK 'address-style_zipcode' %]
104
[% BLOCK 'address-style_zipcode' %]
105
    [% UNLESS nozipcode %]
105
    [% UNLESS nozipcode %]
106
        <li>
106
        <li>
107
            <label for="zipcode" [% IF mandatoryzipcode %]class="required"[% END %]>ZIP/Postal code: </label>
107
            <label for="zipcode" id="zipcode_label" [% IF mandatoryzipcode %]class="required"[% END %]>ZIP/Postal code: </label>
108
            <input type="text" id="zipcode" name="zipcode" maxlength="10" size="10" value="[% patron.zipcode | html %]" />
108
            <input type="text" id="zipcode" name="zipcode" maxlength="10" size="10" value="[% patron.zipcode | html %]" />
109
            [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
109
            [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
110
        </li>
110
        </li>
Lines 114-120 Link Here
114
[% BLOCK 'address-style_city' %]
114
[% BLOCK 'address-style_city' %]
115
    [% UNLESS nocity %]
115
    [% UNLESS nocity %]
116
        <li>
116
        <li>
117
            <label for="city" [% IF mandatorycity %]class="required"[% END %]>City: </label>
117
            <label for="city" id="city_label" [% IF mandatorycity %]class="required"[% END %]>City: </label>
118
            [% IF cities.count %]
118
            [% IF cities.count %]
119
                <select class="select_city" data-addressfield="" name="select_city">
119
                <select class="select_city" data-addressfield="" name="select_city">
120
                    <option value="|||"></option>
120
                    <option value="|||"></option>
Lines 138-144 Link Here
138
[% BLOCK 'address-style_state' %]
138
[% BLOCK 'address-style_state' %]
139
    [% UNLESS nostate %]
139
    [% UNLESS nostate %]
140
        <li>
140
        <li>
141
            <label for="state" [% IF mandatorystate %]class="required"[% END %]>State: </label>
141
            <label for="state" id="state_label" [% IF mandatorystate %]class="required"[% END %]>State: </label>
142
            <input type="text" id="state" name="state" size="20" value="[% patron.state | html %]" />
142
            <input type="text" id="state" name="state" size="20" value="[% patron.state | html %]" />
143
            [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
143
            [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
144
        </li>
144
        </li>
Lines 148-154 Link Here
148
[% BLOCK 'address-style_country' %]
148
[% BLOCK 'address-style_country' %]
149
    [% UNLESS nocountry %]
149
    [% UNLESS nocountry %]
150
        <li>
150
        <li>
151
            <label for="country" [% IF mandatorycountry %]class="required"[% END %]>Country: </label>
151
            <label for="country" id="country_label" [% IF mandatorycountry %]class="required"[% END %]>Country: </label>
152
            <input type="text" id="country" name="country" size="20" value="[% patron.country | html %]" />
152
            <input type="text" id="country" name="country" size="20" value="[% patron.country | html %]" />
153
            [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
153
            [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
154
        </li>
154
        </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-10 / +9 lines)
Lines 436-442 Link Here
436
                                        [% UNLESS ( patron_category.category_type == 'I' ) %]
436
                                        [% UNLESS ( patron_category.category_type == 'I' ) %]
437
                                            [% UNLESS nosex %]
437
                                            [% UNLESS nosex %]
438
                                                <li class="radio">
438
                                                <li class="radio">
439
                                                    <label for="gender" id="gender_label">Gender:</label>
439
                                                    <label for="sex-female" id="gender_label">Gender:</label>
440
                                                    [% UNLESS ( op == 'duplicate' ) %]
440
                                                    [% UNLESS ( op == 'duplicate' ) %]
441
                                                        [% IF ( female ) %]
441
                                                        [% IF ( female ) %]
442
                                                            <label for="sex-female" id="sex-female_label"><input type="radio" name="sex" id="sex-female" value="F" checked="checked" /><span class="patronsex-female"> Female</span></label>
442
                                                            <label for="sex-female" id="sex-female_label"><input type="radio" name="sex" id="sex-female" value="F" checked="checked" /><span class="patronsex-female"> Female</span></label>
Lines 531-537 Link Here
531
531
532
                                                        [% UNLESS norelationship %]
532
                                                        [% UNLESS norelationship %]
533
                                                            <li>
533
                                                            <li>
534
                                                                <label for="guarantor_relationship" [% IF mandatoryrelationship %]class="required"[% END %] id="relationship_label">Relationship: </label>
534
                                                                <label for="new_guarantor_relationship" [% IF mandatoryrelationship %]class="required"[% END %] id="new_guarantor_relationship_label">Relationship: </label>
535
                                                                <select class="new_guarantor_relationship" name="new_guarantor_relationship" [% IF mandatoryrelationship %]required="required"[% END %]>
535
                                                                <select class="new_guarantor_relationship" name="new_guarantor_relationship" [% IF mandatoryrelationship %]required="required"[% END %]>
536
                                                                    <option value=""></option>
536
                                                                    <option value=""></option>
537
                                                                    [% FOREACH pr IN possible_relationships.split('\|') %]
537
                                                                    [% FOREACH pr IN possible_relationships.split('\|') %]
Lines 1003-1009 Link Here
1003
1003
1004
                                    [% UNLESS noautorenew_checkouts %]
1004
                                    [% UNLESS noautorenew_checkouts %]
1005
                                        <li class="radio">
1005
                                        <li class="radio">
1006
                                            <label for="yes-autorenew_checkouts" id="yes-autorenew_checkouts_label"> Allow auto-renewal of items: </label>
1006
                                            <label for="yes-autorenew_checkouts" id="autorenew_checkouts_label"> Allow auto-renewal of items: </label>
1007
                                            [% IF ( borrower_data.autorenew_checkouts || op == 'add_form' ) %]
1007
                                            [% IF ( borrower_data.autorenew_checkouts || op == 'add_form' ) %]
1008
                                                <label for="yes-autorenew_checkouts" id="yes-autorenew_checkouts_label">
1008
                                                <label for="yes-autorenew_checkouts" id="yes-autorenew_checkouts_label">
1009
                                                    Yes
1009
                                                    Yes
Lines 1028-1034 Link Here
1028
1028
1029
                                    [% UNLESS noprotected || !CanUpdateProtectPatron %]
1029
                                    [% UNLESS noprotected || !CanUpdateProtectPatron %]
1030
                                        <li class="radio">
1030
                                        <li class="radio">
1031
                                            <label for="protected" id="protected_label">Protected:</label>
1031
                                            <label for="yes-protected" id="protected_label">Protected:</label>
1032
                                            [% IF ( patron.protected == 1 ) %]
1032
                                            [% IF ( patron.protected == 1 ) %]
1033
                                                <label for="yes-protected" id="yes-protected_label">
1033
                                                <label for="yes-protected" id="yes-protected_label">
1034
                                                    Yes
1034
                                                    Yes
Lines 1322-1328 Link Here
1322
                                        <ol class="radio">
1322
                                        <ol class="radio">
1323
                                            [% UNLESS nogonenoaddress %]
1323
                                            [% UNLESS nogonenoaddress %]
1324
                                                <li>
1324
                                                <li>
1325
                                                    <label class="radio [% IF mandatorygonenoaddress %]required[% END %]" for="yesgonenoaddress" id="yesgonenoaddress_label"> Address correction needed: </label>
1325
                                                    <label class="radio [% IF mandatorygonenoaddress %]required[% END %]" for="yesgonenoaddress" id="gonenoaddress_label"> Address correction needed: </label>
1326
                                                    [% IF CAN_user_circulate_manage_restrictions %]
1326
                                                    [% IF CAN_user_circulate_manage_restrictions %]
1327
                                                        <label for="yesgonenoaddress" id="yesgonenoaddress_label">
1327
                                                        <label for="yesgonenoaddress" id="yesgonenoaddress_label">
1328
                                                            [% IF ( borrower_data.gonenoaddress ) %]
1328
                                                            [% IF ( borrower_data.gonenoaddress ) %]
Lines 1438-1450 Link Here
1438
                                            ><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p
1438
                                            ><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p
1439
                                        >
1439
                                        >
1440
                                        <fieldset id="manual_restriction_form">
1440
                                        <fieldset id="manual_restriction_form">
1441
                                            <input type="hidden" id="add_debarment" name="add_debarment" value="0" />
1442
                                            <legend id="manual_restriction_lgd">Add manual restriction</legend>
1441
                                            <legend id="manual_restriction_lgd">Add manual restriction</legend>
1442
                                            <input type="hidden" id="add_debarment" name="add_debarment" value="0" />
1443
                                            <ol>
1443
                                            <ol>
1444
                                                [% IF Koha.Preference('PatronRestrictionTypes') %]
1444
                                                [% IF Koha.Preference('PatronRestrictionTypes') %]
1445
                                                    <li>
1445
                                                    <li>
1446
                                                        <label for="debarred_type" id="debarred_type_label">Type:</label>
1446
                                                        <label for="debarred_type" id="debarred_type_label">Type:</label>
1447
                                                        <select name="debarred_type">
1447
                                                        <select name="debarred_type" id="debarred_type">
1448
                                                            [% FOREACH restriction_type IN restriction_types %]
1448
                                                            [% FOREACH restriction_type IN restriction_types %]
1449
                                                                [% IF !restriction_type.is_system %]
1449
                                                                [% IF !restriction_type.is_system %]
1450
                                                                    [% IF restriction_type.is_default %]
1450
                                                                    [% IF restriction_type.is_default %]
Lines 1487-1493 Link Here
1487
                                    </legend>
1487
                                    </legend>
1488
                                    <ol class="radio">
1488
                                    <ol class="radio">
1489
                                        <li>
1489
                                        <li>
1490
                                            <label class="radio" for="housebound_chooser" id="housebound_chooser_label"> Chooser: </label>
1490
                                            <label class="radio" for="yes_housebound_chooser" id="housebound_chooser_label"> Chooser: </label>
1491
                                            [% IF ( housebound_role.housebound_chooser == 1 ) %]
1491
                                            [% IF ( housebound_role.housebound_chooser == 1 ) %]
1492
                                                <label for="yes_housebound_chooser" id="yes_housebound_chooser_label">Yes </label>
1492
                                                <label for="yes_housebound_chooser" id="yes_housebound_chooser_label">Yes </label>
1493
                                                <input type="radio" id="yes_housebound_chooser" name="housebound_chooser" value="1" checked="checked" />
1493
                                                <input type="radio" id="yes_housebound_chooser" name="housebound_chooser" value="1" checked="checked" />
Lines 1501-1507 Link Here
1501
                                            [% END %]
1501
                                            [% END %]
1502
                                        </li>
1502
                                        </li>
1503
                                        <li>
1503
                                        <li>
1504
                                            <label class="radio" for="housebound_deliverer" id="housebound_deliverer_label">Deliverer:</label>
1504
                                            <label class="radio" for="yes_housebound_deliverer" id="housebound_deliverer_label">Deliverer:</label>
1505
                                            [% IF ( housebound_role.housebound_deliverer == 1 ) %]
1505
                                            [% IF ( housebound_role.housebound_deliverer == 1 ) %]
1506
                                                <label for="yes_housebound_deliverer" id="yes_housebound_deliverer_label">Yes </label>
1506
                                                <label for="yes_housebound_deliverer" id="yes_housebound_deliverer_label">Yes </label>
1507
                                                <input type="radio" id="yes_housebound_deliverer" name="housebound_deliverer" value="1" checked="checked" />
1507
                                                <input type="radio" id="yes_housebound_deliverer" name="housebound_deliverer" value="1" checked="checked" />
1508
- 

Return to bug 41638