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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-3 / +2 lines)
Lines 86-92 Link Here
86
            <label for="repeatable">Repeatable: </label>
86
            <label for="repeatable">Repeatable: </label>
87
            [% IF attribute_type %]
87
            [% IF attribute_type %]
88
                [% IF attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %]
88
                [% IF attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %]
89
                    <input type="checkbox" id="repeatable" name="repeatable" checked="checked" disabled="disabled" />
89
                    <input type="checkbox" id="repeatable" name="repeatable" checked="checked" disabled="disabled" title="At least one patron has more than one value for this attribute" />
90
                    <input type="hidden" name="repeatable" value="1" />
90
                    <input type="hidden" name="repeatable" value="1" />
91
                [% ELSIF attribute_type.repeatable %]
91
                [% ELSIF attribute_type.repeatable %]
92
                    <input type="checkbox" id="repeatable" name="repeatable" checked="checked" />
92
                    <input type="checkbox" id="repeatable" name="repeatable" checked="checked" />
Lines 111-117 Link Here
111
                [% ELSIF can_be_set_to_unique %]
111
                [% ELSIF can_be_set_to_unique %]
112
                    <input type="checkbox" id="unique_id" name="unique_id" />
112
                    <input type="checkbox" id="unique_id" name="unique_id" />
113
                [% ELSE %]
113
                [% ELSE %]
114
                    <input type="checkbox" id="unique_id" name="unique_id" disabled="disabled" />
114
                    <input type="checkbox" id="unique_id" name="unique_id" disabled="disabled" title="At least two patrons have the same value for this attribute" />
115
                    <input type="hidden" name="unique_id" value="0" />
115
                    <input type="hidden" name="unique_id" value="0" />
116
                [% END %]
116
                [% END %]
117
            [% ELSE %]
117
            [% ELSE %]
118
- 

Return to bug 8326