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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-1 / +6 lines)
Lines 115-121 Link Here
115
            [% IF ( extendedattribute.type.display_checkout ) %] [%# FIXME We should filter in the line above %]
115
            [% IF ( extendedattribute.type.display_checkout ) %] [%# FIXME We should filter in the line above %]
116
                [% IF ( extendedattribute.attribute.defined  ) %]
116
                [% IF ( extendedattribute.attribute.defined  ) %]
117
                    <li class="patronattribute">
117
                    <li class="patronattribute">
118
                        <span class="patronattributelabel">[% extendedattribute.type.description | html %]</span>: [% extendedattribute.description | html %]
118
                        <span class="patronattributelabel">[% extendedattribute.type.description | html %]</span>:
119
                        [% IF extendedattribute.type.is_date %]
120
                            [% extendedattribute.description | $KohaDates %]
121
                        [% ELSE %]
122
                            [% extendedattribute.description | html %]
123
                        [% END %]
119
                    </li>
124
                    </li>
120
                [% END %]
125
                [% END %]
121
            [% END %]
126
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-3 / +13 lines)
Lines 1657-1669 legend.collapsed i.fa.fa-caret-down::before { Link Here
1657
                                                                </select>
1657
                                                                </select>
1658
                                                            [% ELSE %]
1658
                                                            [% ELSE %]
1659
                                                                [% IF patron_attribute.mandatory %]
1659
                                                                [% IF patron_attribute.mandatory %]
1660
                                                                <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea>
1660
                                                                    [% IF patron_attribute.is_date %]
1661
                                                                        <input type="text" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"  maxlength="10" size="10" value="[% patron_attribute.value | html %]" required="required" class="flatpickr" data-date_to="to" />
1662
                                                                    [% ELSE %]
1663
                                                                        <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]" required="required">[% patron_attribute.value | html %]</textarea>
1664
                                                                    [% END %]
1661
                                                                [% ELSE %]
1665
                                                                [% ELSE %]
1662
                                                                <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea>
1666
                                                                    [% IF patron_attribute.is_date %]
1667
                                                                        <input type="text" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]"  maxlength="10" size="10" value="[% patron_attribute.value | html %]" class="flatpickr" data-date_to="to" />
1668
                                                                    [% ELSE %]
1669
                                                                        <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea>
1670
                                                                    [% END %]
1663
                                                                [% END %]
1671
                                                                [% END %]
1664
                                                            [% END # /IF ( patron_attribute.use_dropdown ) %]
1672
                                                            [% END # /IF ( patron_attribute.use_dropdown ) %]
1665
                                                            <input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" />
1673
                                                            <input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" />
1666
                                                            <a href="#" class="clear_attribute"><i class="fa fa-fw fa-trash-can"></i> Clear</a>
1674
                                                            [% IF ( !patron_attribute.is_date ) %]
1675
                                                                <a href="#" class="clear_attribute"><i class="fa fa-fw fa-trash-can"></i> Clear</a>
1676
                                                            [% END %]
1667
                                                            [% IF ( patron_attribute.repeatable ) %]
1677
                                                            [% IF ( patron_attribute.repeatable ) %]
1668
                                                                <a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a>
1678
                                                                <a href="#" class="clone_attribute"><i class="fa fa-fw fa-plus"></i> New</a>
1669
                                                            [% END %]
1679
                                                            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-1 / +5 lines)
Lines 335-341 Link Here
335
                                                        [% FOREACH item IN attribute.items %]
335
                                                        [% FOREACH item IN attribute.items %]
336
                                                            <li data-pa_code="[% item.type.code | replace('[^a-zA-Z0-9_-]', '') %]">
336
                                                            <li data-pa_code="[% item.type.code | replace('[^a-zA-Z0-9_-]', '') %]">
337
                                                                <span class="label">[% item.type.description | html %]: </span>
337
                                                                <span class="label">[% item.type.description | html %]: </span>
338
                                                                [% item.description | html_line_break %]
338
                                                                [% IF item.type.is_date %]
339
                                                                    [% item.description | $KohaDates %]
340
                                                                [% ELSE %]
341
                                                                    [% item.description | html_line_break %]
342
                                                                [% END %]
339
                                                            </li>
343
                                                            </li>
340
                                                        [% END %]
344
                                                        [% END %]
341
                                                    </ol>
345
                                                    </ol>
(-)a/members/memberentry.pl (-1 / +1 lines)
Lines 880-885 sub patron_attributes_form { Link Here
880
            category          => $attr_type->authorised_value_category(),
880
            category          => $attr_type->authorised_value_category(),
881
            category_code     => $attr_type->category_code(),
881
            category_code     => $attr_type->category_code(),
882
            mandatory         => $attr_type->mandatory(),
882
            mandatory         => $attr_type->mandatory(),
883
            is_date           => $attr_type->is_date(),
883
        };
884
        };
884
        if (exists $attr_hash{$attr_type->code()}) {
885
        if (exists $attr_hash{$attr_type->code()}) {
885
            foreach my $attr (@{ $attr_hash{$attr_type->code()} }) {
886
            foreach my $attr (@{ $attr_hash{$attr_type->code()} }) {
886
- 

Return to bug 32610