Lines 5-10
Link Here
|
5 |
<script type="text/javascript"> |
5 |
<script type="text/javascript"> |
6 |
//<![CDATA[ |
6 |
//<![CDATA[ |
7 |
|
7 |
|
|
|
8 |
var MSG_CONFIRM_UNSET = _("Are you sure you want to unset this rule?"); |
9 |
var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this rule? This cannot be undone."); |
10 |
|
8 |
function clear_edit(){ |
11 |
function clear_edit(){ |
9 |
var cancel = confirm(_("Are you sure you want to cancel your changes?")); |
12 |
var cancel = confirm(_("Are you sure you want to cancel your changes?")); |
10 |
if ( !cancel ) return; |
13 |
if ( !cancel ) return; |
Lines 253-259
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
253 |
<td>[% rule.rentaldiscount %]</td> |
256 |
<td>[% rule.rentaldiscount %]</td> |
254 |
<td class="actions"> |
257 |
<td class="actions"> |
255 |
<a href="#" class="editrule btn btn-mini"><i class="fa fa-pencil"></i> Edit</a> |
258 |
<a href="#" class="editrule btn btn-mini"><i class="fa fa-pencil"></i> Edit</a> |
256 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype %]&categorycode=[% rule.categorycode %]&branch=[% rule.current_branch %]"><i class="fa fa-trash"></i> Delete</a> |
259 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype %]&categorycode=[% rule.categorycode %]&branch=[% rule.current_branch %]" onclick="return confirm(MSG_CONFIRM_DELETE);"><i class="fa fa-trash"></i> Delete</a> |
257 |
</td> |
260 |
</td> |
258 |
</tr> |
261 |
</tr> |
259 |
[% END %] |
262 |
[% END %] |
Lines 438-444
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
438 |
</td> |
441 |
</td> |
439 |
<td class="actions"> |
442 |
<td class="actions"> |
440 |
<button type="submit" class="btn btn-mini"><i class="fa fa-save"></i> Save</button> |
443 |
<button type="submit" class="btn btn-mini"><i class="fa fa-save"></i> Save</button> |
441 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=*&branch=[% current_branch %]"><i class="fa fa-undo"></i> Unset</a> |
444 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=*&branch=[% current_branch %]" onclick="return confirm(MSG_CONFIRM_UNSET);"><i class="fa fa-undo"></i> Unset</a> |
442 |
</td> |
445 |
</td> |
443 |
</tr> |
446 |
</tr> |
444 |
</table> |
447 |
</table> |
Lines 489-495
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
489 |
</td> |
492 |
</td> |
490 |
|
493 |
|
491 |
<td class="actions"> |
494 |
<td class="actions"> |
492 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=[% branch_cat_rule_loo.categorycode %]&branch=[% current_branch %]"><i class="fa fa-trash"></i> Delete</a> |
495 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=[% branch_cat_rule_loo.categorycode %]&branch=[% current_branch %]" onclick="return confirm(MSG_CONFIRM_DELETE);"><i class="fa fa-trash"></i> Delete</a> |
493 |
</td> |
496 |
</td> |
494 |
</tr> |
497 |
</tr> |
495 |
[% END %] |
498 |
[% END %] |
Lines 569-575
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
569 |
[% END %] |
572 |
[% END %] |
570 |
</td> |
573 |
</td> |
571 |
<td class="actions"> |
574 |
<td class="actions"> |
572 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=[% branch_item_rule_loo.itemtype %]&branch=[% current_branch %]"><i class="fa fa-trash"></i> Delete</a> |
575 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=[% branch_item_rule_loo.itemtype %]&branch=[% current_branch %]" onclick="return confirm(MSG_CONFIRM_DELETE);"><i class="fa fa-trash"></i> Delete</a> |
573 |
</td> |
576 |
</td> |
574 |
</tr> |
577 |
</tr> |
575 |
[% END %] |
578 |
[% END %] |
576 |
- |
|
|