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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-2 / +2 lines)
Lines 1062-1070 function select_user(borrowernumber, borrower) { Link Here
1062
                            (<label class="yesno" for="[% patron_attribute.form_id %]_password">Password:</label> <input type="password" maxlength="64" value="[% patron_attribute.password %]"
1062
                            (<label class="yesno" for="[% patron_attribute.form_id %]_password">Password:</label> <input type="password" maxlength="64" value="[% patron_attribute.password %]"
1063
                                   id="[% patron_attribute.form_id %]_password" name="[% patron_attribute.form_id %]_password" />)
1063
                                   id="[% patron_attribute.form_id %]_password" name="[% patron_attribute.form_id %]_password" />)
1064
                        [% END %]
1064
                        [% END %]
1065
                        <a href="#" class="clear-field" onclick="clear_entry(this); return false;">Clear</a>
1065
                        <a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a>
1066
                        [% IF ( patron_attribute.repeatable ) %]
1066
                        [% IF ( patron_attribute.repeatable ) %]
1067
                        <a href="#" class="clone-field" onclick="clone_entry(this); return false;">New</a>
1067
                        <a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a>
1068
                        [% END %]
1068
                        [% END %]
1069
                </li>
1069
                </li>
1070
            [% END %]
1070
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-4 / +3 lines)
Lines 85-91 Link Here
85
            var li_node = $("li.attributes:last");
85
            var li_node = $("li.attributes:last");
86
            var li_clone = $(li_node).clone();
86
            var li_clone = $(li_node).clone();
87
            if ( $(li_clone).find("a.delete").length == 0 ) {
87
            if ( $(li_clone).find("a.delete").length == 0 ) {
88
                $(li_clone).append('<a href="#" title="Delete" class="delete clear-field" onclick="del_attributes(this);return false;">Delete</a>');
88
                $(li_clone).append('<a href="#" title="Delete" class="delete" onclick="del_attributes(this);return false;"><i class="fa fa-fw fa-trash"></i> Delete</a>');
89
            }
89
            }
90
            $(li_clone).find('select[name="patron_attributes"]').change(function() {
90
            $(li_clone).find('select[name="patron_attributes"]').change(function() {
91
                updateAttrValues(this);
91
                updateAttrValues(this);
Lines 338-344 Link Here
338
                                            [% END %]
338
                                            [% END %]
339
                                            [% IF ( field.type == 'date' ) %]
339
                                            [% IF ( field.type == 'date' ) %]
340
                                                <input type="text" name="[% field.name %]" id="[% field.name %]" value="" size="10" maxlength="10" readonly="readonly" class="datepicker" />
340
                                                <input type="text" name="[% field.name %]" id="[% field.name %]" value="" size="10" maxlength="10" readonly="readonly" class="datepicker" />
341
                                                <a href="#" class="clear-field" onclick="clearDate('[% field.name %]');return false;">Clear</a>
341
                                                <a href="#" onclick="clearDate('[% field.name %]');return false;"><i class="fa fa-fw fa-trash"></i> Clear</a>
342
                                            [% END %]
342
                                            [% END %]
343
                                            [% IF field.mandatory %]
343
                                            [% IF field.mandatory %]
344
                                                <span class="required">Required fields cannot be cleared</span>
344
                                                <span class="required">Required fields cannot be cleared</span>
Lines 356-362 Link Here
356
                                                </label>
356
                                                </label>
357
                                                <input type="checkbox" title="check to delete this field" name="disable_input" value="attr0_value" />
357
                                                <input type="checkbox" title="check to delete this field" name="disable_input" value="attr0_value" />
358
                                                <span class="patron_attributes_value"></span>
358
                                                <span class="patron_attributes_value"></span>
359
                                                <a href="#" class="clone-field" title="Add an attribute" onclick="add_attributes(); return false;">New</a>
359
                                                <a href="#" title="Add an attribute" onclick="add_attributes(); return false;"><i class="fa fa-fw fa-plus"></i> New</a>
360
                                                <span class="information_category hint" style="width:25%;float:right;"></span>
360
                                                <span class="information_category hint" style="width:25%;float:right;"></span>
361
                                            </li>
361
                                            </li>
362
                                        [% END %]
362
                                        [% END %]
363
- 

Return to bug 16046