5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Clone circulation and fine rules › Circulation and fine rules › Administration › Koha</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 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
19 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
22 <a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a>
25 <a href="#" aria-current="page">
26 Clone circulation and fine rules
32 <div class="main container-fluid">
34 <div class="col-sm-10 col-sm-push-2">
37 <h2>Cloning circulation and fine rules
38 [% IF frombranch %] from "[% Branches.GetName( frombranch ) | html %]"[% END %]
39 [% IF tobranch %] to "[% Branches.GetName( tobranch ) | html %]"[% END %]
44 <div class="dialog alert">Cloning of circulation and fine rules failed!</div>
46 <div class="dialog message"><p>The rules have been cloned.</p></div>
48 <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to circulation and fine rules</a>
51 <p class="help">Use carefully! If the destination library already has circulation and fine rules, they will be deleted without warning!</p>
52 <form action="/cgi-bin/koha/admin/clone-rules.pl" method="post">
53 [% UNLESS ( frombranch ) %]
55 <legend>Please choose a library to clone rules from:</legend>
56 <label for="frombranch">Source library:</label>
57 <select name="frombranch" id="frombranch">
58 <option value="">Default</option>
59 [% PROCESS options_for_libraries libraries => Branches.all() %]
61 [% IF ( tobranch ) %]<input type="hidden" name="tobranch" value="[% tobranch | html %]" />[% END %]
65 [% UNLESS ( tobranch ) %]
67 <legend>Please choose the library to clone the rules to:</legend>
68 <label for="tobranch">Destination library:</label>
69 <select name="tobranch" id="tobranch">
70 <option value="">Default</option>
71 [% PROCESS options_for_libraries libraries => Branches.all() %]
73 [% IF ( frombranch ) %]<input type="hidden" name="frombranch" value="[% frombranch | html %]" />[% END %]
76 <input type="submit" value="Submit" />
81 </div> <!-- /.col-sm-10.col-sm-push-2 -->
83 <div class="col-sm-2 col-sm-pull-10">
85 [% INCLUDE 'admin-menu.inc' %]
87 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
90 [% MACRO jsinclude BLOCK %]
91 [% Asset.js("js/admin-menu.js") | $raw %]
94 [% INCLUDE 'intranet-bottom.inc' %]