5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Administration › Circulation and fine rules › Clone circulation and fine rules</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="admin_clone-rules" class="admin">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'prefs-admin-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a> › Clone circulation and fine rules</div>
15 <div class="main container-fluid">
17 <div class="col-sm-10 col-sm-push-2">
20 <h2>Cloning circulation and fine rules
21 [% IF frombranch %] from "[% Branches.GetName( frombranch ) | html %]"[% END %]
22 [% IF tobranch %] to "[% Branches.GetName( tobranch ) | html %]"[% END %]
27 <div class="dialog alert">Cloning of circulation and fine rules failed!</div>
29 <div class="dialog message"><p>The rules have been cloned.</p></div>
31 <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to circulation and fine rules</a>
34 <p class="help">Use carefully! If the destination library already has circulation and fine rules, they will be deleted without warning!</p>
35 <form action="/cgi-bin/koha/admin/clone-rules.pl" method="post">
36 [% UNLESS ( frombranch ) %]
38 <legend>Please choose a library to clone rules from:</legend>
39 <label for="frombranch">Source library:</label>
40 <select name="frombranch" id="frombranch">
41 <option value="">Default</option>
42 [% PROCESS options_for_libraries libraries => Branches.all() %]
44 [% IF ( tobranch ) %]<input type="hidden" name="tobranch" value="[% tobranch | html %]" />[% END %]
48 [% UNLESS ( tobranch ) %]
50 <legend>Please choose the library to clone the rules to:</legend>
51 <label for="tobranch">Destination library:</label>
52 <select name="tobranch" id="tobranch">
53 <option value="">Default</option>
54 [% PROCESS options_for_libraries libraries => Branches.all() %]
56 [% IF ( frombranch ) %]<input type="hidden" name="frombranch" value="[% frombranch | html %]" />[% END %]
59 <input type="submit" value="Submit" />
64 </div> <!-- /.col-sm-10.col-sm-push-2 -->
66 <div class="col-sm-2 col-sm-pull-10">
68 [% INCLUDE 'admin-menu.inc' %]
70 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
73 [% MACRO jsinclude BLOCK %]
74 [% Asset.js("js/admin-menu.js") | $raw %]
77 [% INCLUDE 'intranet-bottom.inc' %]