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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-10 / +9 lines)
Lines 209-215 Link Here
209
                                                    [% ELSE %]
209
                                                    [% ELSE %]
210
                                                        0
210
                                                        0
211
                                                    [% END %]</td>
211
                                                    [% END %]</td>
212
                                                <td data-code="[% c %]">
212
                                                <td data-code="[% c | html %]">
213
                                                    [% IF c == undef %]
213
                                                    [% IF c == undef %]
214
                                                        <em>All</em>
214
                                                        <em>All</em>
215
                                                    [% ELSE %]
215
                                                    [% ELSE %]
Lines 221-227 Link Here
221
                                                    [% ELSE %]
221
                                                    [% ELSE %]
222
                                                        0
222
                                                        0
223
                                                    [% END %]</td>
223
                                                    [% END %]</td>
224
                                                <td data-code="[% i %]">
224
                                                <td data-code="[% i | html %]">
225
                                                    [% IF i == undef %]
225
                                                    [% IF i == undef %]
226
                                                        <em>All</em>
226
                                                        <em>All</em>
227
                                                    [% ELSE %]
227
                                                    [% ELSE %]
Lines 252-258 Link Here
252
                                                    [% END %]
252
                                                    [% END %]
253
                                                </td>
253
                                                </td>
254
                                                <td>[% issuelength | html %]</td>
254
                                                <td>[% issuelength | html %]</td>
255
                                                <td data-code="[% daysmode %]">
255
                                                <td data-code="[% daysmode | html %]">
256
                                                    [% SWITCH daysmode %]
256
                                                    [% SWITCH daysmode %]
257
                                                    [% CASE 'Calendar' %]<span title="Use the calendar to skip days the library is closed">Skip closed days</span>
257
                                                    [% CASE 'Calendar' %]<span title="Use the calendar to skip days the library is closed">Skip closed days</span>
258
                                                    [% CASE 'Datedue' %]<span title="Use the calendar to push the due date to the next open day">Next open day</span>
258
                                                    [% CASE 'Datedue' %]<span title="Use the calendar to push the due date to the next open day">Next open day</span>
Lines 261-267 Link Here
261
                                                    [% CASE %]<span title="Use the system preference 'useDaysMode' as a default value">Default</span>
261
                                                    [% CASE %]<span title="Use the system preference 'useDaysMode' as a default value">Default</span>
262
                                                    [% END %]
262
                                                    [% END %]
263
                                                </td>
263
                                                </td>
264
                                                <td data-code="[% lengthunit %]">
264
                                                <td data-code="[% lengthunit | html %]">
265
                                                    [% IF ( lengthunit == 'days' ) %]
265
                                                    [% IF ( lengthunit == 'days' ) %]
266
                                                        <span>Days</span>
266
                                                        <span>Days</span>
267
                                                    [% ELSIF ( lengthunit == 'hours') %]
267
                                                    [% ELSIF ( lengthunit == 'hours') %]
Lines 270-276 Link Here
270
                                                        <span>Undefined</span>
270
                                                        <span>Undefined</span>
271
                                                    [% END %]
271
                                                    [% END %]
272
                                                </td>
272
                                                </td>
273
                                                <td data-code="[% hardduedatecompare %]">
273
                                                <td data-code="[% hardduedatecompare | html %]">
274
                                                  [% IF ( hardduedate ) %]
274
                                                  [% IF ( hardduedate ) %]
275
                                                    [% IF ( hardduedatecompare == '-1' ) %]
275
                                                    [% IF ( hardduedatecompare == '-1' ) %]
276
                                                      before [% hardduedate | $KohaDates %]
276
                                                      before [% hardduedate | $KohaDates %]
Lines 344-350 Link Here
344
                                                        <span>Unlimited</span>
344
                                                        <span>Unlimited</span>
345
                                                    [% END %]
345
                                                    [% END %]
346
                                                </td>
346
                                                </td>
347
                                                <td data-code="[% onshelfholds %]">
347
                                                <td data-code="[% onshelfholds | html %]">
348
                                                    [% IF onshelfholds == 1 %]
348
                                                    [% IF onshelfholds == 1 %]
349
                                                        <span>Yes</span>
349
                                                        <span>Yes</span>
350
                                                    [% ELSIF onshelfholds == 2 %]
350
                                                    [% ELSIF onshelfholds == 2 %]
Lines 353-359 Link Here
353
                                                        <span>If any unavailable</span>
353
                                                        <span>If any unavailable</span>
354
                                                    [% END %]
354
                                                    [% END %]
355
                                                </td>
355
                                                </td>
356
                                                <td data-code="[% opacitemholds %]">
356
                                                <td data-code="[% opacitemholds | html %]">
357
                                                    [% IF opacitemholds == 'F'%]
357
                                                    [% IF opacitemholds == 'F'%]
358
                                                        <span>Force</span>
358
                                                        <span>Force</span>
359
                                                    [% ELSIF opacitemholds == 'Y'%]
359
                                                    [% ELSIF opacitemholds == 'Y'%]
Lines 363-369 Link Here
363
                                                    [% END %]
363
                                                    [% END %]
364
                                                </td>
364
                                                </td>
365
                                                [% IF Koha.Preference('ArticleRequests') %]
365
                                                [% IF Koha.Preference('ArticleRequests') %]
366
                                                <td data-code="[% article_requests %]">
366
                                                <td data-code="[% article_requests | html %]">
367
                                                    [% IF article_requests == 'no' %]
367
                                                    [% IF article_requests == 'no' %]
368
                                                        <span>No</span>
368
                                                        <span>No</span>
369
                                                    [% ELSIF article_requests == 'yes' %]
369
                                                    [% ELSIF article_requests == 'yes' %]
Lines 379-385 Link Here
379
                                                [% IF Koha.Preference('UseRecalls') %]
379
                                                [% IF Koha.Preference('UseRecalls') %]
380
                                                    <td>[% recalls_allowed | html %]</td>
380
                                                    <td>[% recalls_allowed | html %]</td>
381
                                                    <td>[% recalls_per_record | html %]</td>
381
                                                    <td>[% recalls_per_record | html %]</td>
382
                                                    <td data-code="[% on_shelf_recalls %]">
382
                                                    <td data-code="[% on_shelf_recalls | html %]">
383
                                                        [% IF on_shelf_recalls == 'all' %]
383
                                                        [% IF on_shelf_recalls == 'all' %]
384
                                                            <span>If all unavailable</span>
384
                                                            <span>If all unavailable</span>
385
                                                        [% ELSE %]
385
                                                        [% ELSE %]
386
- 

Return to bug 34269