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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-3 / +6 lines)
Lines 984-996 Link Here
984
                        <th>&nbsp;</th>
984
                        <th>&nbsp;</th>
985
                    </tr>
985
                    </tr>
986
                    [% FOREACH c IN categorycodes %]
986
                    [% FOREACH c IN categorycodes %]
987
                        [% NEXT UNLESS c %]
988
                        [% SET i = undef %]
987
                        [% SET i = undef %]
989
                        [% SET open_article_requests_limit = all_rules.$c.$i.open_article_requests_limit %]
988
                        [% SET open_article_requests_limit = all_rules.$c.$i.open_article_requests_limit %]
990
989
991
                        [% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %]
990
                        [% IF ( open_article_requests_limit.defined && open_article_requests_limit != '' ) %]
992
                            <tr>
991
                            <tr>
993
                                <td> [% Categories.GetName(c) | html %] </td>
992
                                [% IF c == undef %]
993
                                    <td><em>All</em></td>
994
                                [% ELSE %]
995
                                    <td> [% Categories.GetName(c) | html %] </td>
996
                                [% END %]
994
                                <td>
997
                                <td>
995
                                    [% IF open_article_requests_limit.defined && open_article_requests_limit != '' %]
998
                                    [% IF open_article_requests_limit.defined && open_article_requests_limit != '' %]
996
                                        [% open_article_requests_limit | html %]
999
                                        [% open_article_requests_limit | html %]
Lines 1008-1013 Link Here
1008
                    <tr>
1011
                    <tr>
1009
                        <td>
1012
                        <td>
1010
                            <select name="categorycode">
1013
                            <select name="categorycode">
1014
                                <option value="*">All</option>
1011
                                [% FOREACH patron_category IN patron_categories %]
1015
                                [% FOREACH patron_category IN patron_categories %]
1012
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1016
                                    <option value="[% patron_category.categorycode | html %]">[% patron_category.description | html %]</option>
1013
                                [% END %]
1017
                                [% END %]
1014
- 

Return to bug 39624