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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-3 / +15 lines)
Lines 168-173 $(document).ready(function() { Link Here
168
            <tr>
168
            <tr>
169
                <th>Patron category</th>
169
                <th>Patron category</th>
170
                <th>Item type</th>
170
                <th>Item type</th>
171
                <th>Actions</th>
171
                <th>Current checkouts allowed</th>
172
                <th>Current checkouts allowed</th>
172
                <th>Current on-site checkouts allowed</th>
173
                <th>Current on-site checkouts allowed</th>
173
                <th>Loan period</th>
174
                <th>Loan period</th>
Lines 211-216 $(document).ready(function() { Link Here
211
									[% rule.translated_description %]
212
									[% rule.translated_description %]
212
								[% END %]
213
								[% END %]
213
							</td>
214
							</td>
215
                                                        <td class="actions">
216
                                                          <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
217
                                                          <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% rule.itemtype %]&amp;categorycode=[% rule.categorycode %]&amp;branch=[% rule.current_branch %]"><i class="fa fa-trash"></i> Delete</a>
218
                                                        </td>
219
214
							<td>[% IF ( rule.unlimited_maxissueqty ) %]
220
							<td>[% IF ( rule.unlimited_maxissueqty ) %]
215
									Unlimited
221
									Unlimited
216
								[% ELSE %]
222
								[% ELSE %]
Lines 295-301 $(document).ready(function() { Link Here
295
                                                        <td class="actions">
301
                                                        <td class="actions">
296
                                                          <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
302
                                                          <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
297
                                                          <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% rule.itemtype %]&amp;categorycode=[% rule.categorycode %]&amp;branch=[% rule.current_branch %]"><i class="fa fa-trash"></i> Delete</a>
303
                                                          <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&amp;itemtype=[% rule.itemtype %]&amp;categorycode=[% rule.categorycode %]&amp;branch=[% rule.current_branch %]"><i class="fa fa-trash"></i> Delete</a>
298
							</td>
304
                                                        </td>
305
299
                	</tr>
306
                	</tr>
300
            	[% END %]
307
            	[% END %]
301
                <tr id="edit_row">
308
                <tr id="edit_row">
Lines 315-320 $(document).ready(function() { Link Here
315
                        [% END %]
322
                        [% END %]
316
                        </select>
323
                        </select>
317
                    </td>
324
                    </td>
325
                    <td class="actions">
326
                        <input type="hidden" name="branch" value="[% current_branch %]"/>
327
                        <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
328
                        <button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button>
329
                    </td>
318
                    <td><input type="text" name="maxissueqty" id="maxissueqty" size="3" /></td>
330
                    <td><input type="text" name="maxissueqty" id="maxissueqty" size="3" /></td>
319
                    <td><input type="text" name="maxonsiteissueqty" id="maxonsiteissueqty" size="3" /></td>
331
                    <td><input type="text" name="maxonsiteissueqty" id="maxonsiteissueqty" size="3" /></td>
320
                    <td><input type="text" name="issuelength" id="issuelength" size="3" /> </td>
332
                    <td><input type="text" name="issuelength" id="issuelength" size="3" /> </td>
Lines 395-400 $(document).ready(function() { Link Here
395
                    <tr>
407
                    <tr>
396
                      <th>Patron category</th>
408
                      <th>Patron category</th>
397
                      <th>Item type</th>
409
                      <th>Item type</th>
410
                      <th>&nbsp;</th>
398
                      <th>Current checkouts allowed</th>
411
                      <th>Current checkouts allowed</th>
399
                      <th>Current on-site checkouts allowed</th>
412
                      <th>Current on-site checkouts allowed</th>
400
                      <th>Loan period</th>
413
                      <th>Loan period</th>
Lines 420-426 $(document).ready(function() { Link Here
420
                      <th>Item level holds</th>
433
                      <th>Item level holds</th>
421
                      <th>Article requests</th>
434
                      <th>Article requests</th>
422
                      <th>Rental discount (%)</th>
435
                      <th>Rental discount (%)</th>
423
                      <th colspan="2">&nbsp;</th>
436
                      <th>&nbsp;</th>
424
                    </tr>
437
                    </tr>
425
                  </tfoot>
438
                  </tfoot>
426
                </tbody>
439
                </tbody>
427
- 

Return to bug 18857