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 [% WRAPPER 'header.inc' %]
11 [% INCLUDE 'prefs-admin-search.inc' %]
14 [% WRAPPER 'sub-header.inc' %]
15 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18 <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
21 <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
24 <a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a>
27 <a href="#" aria-current="page">
28 Clone circulation and fine rules
35 <div class="main container-fluid">
37 <div class="col-sm-10 col-sm-push-2">
40 <h1>Cloning circulation and fine rules
41 [% IF frombranch == "*" %] from standard rules[% ELSIF frombranch %] from "[% Branches.GetName( frombranch ) | html %]"[% END %]
42 [% IF tobranch %] to "[% Branches.GetName( tobranch ) | html %]"[% END %]
47 <div class="dialog alert">Cloning of circulation and fine rules failed!</div>
49 <div class="dialog message"><p>The rules have been cloned.</p></div>
51 <a href="/cgi-bin/koha/admin/smart-rules.pl">Return to circulation and fine rules</a>
54 <p class="help">Use carefully! If the destination library already has circulation and fine rules, they will be deleted without warning!</p>
55 <form action="/cgi-bin/koha/admin/clone-rules.pl" method="post">
56 [% UNLESS ( frombranch ) %]
58 <legend>Please choose a library to clone rules from:</legend>
59 <label for="frombranch">Source library:</label>
60 <select name="frombranch" id="frombranch">
61 <option value="">Default</option>
62 [% PROCESS options_for_libraries libraries => Branches.all() %]
64 [% IF ( tobranch ) %]<input type="hidden" name="tobranch" value="[% tobranch | html %]" />[% END %]
68 [% UNLESS ( tobranch ) %]
70 <legend>Please choose the library to clone the rules to:</legend>
71 <label for="tobranch">Destination library:</label>
72 <select name="tobranch" id="tobranch">
73 <option value="">Default</option>
74 [% PROCESS options_for_libraries libraries => Branches.all() %]
76 [% IF ( frombranch ) %]<input type="hidden" name="frombranch" value="[% frombranch | html %]" />[% END %]
79 <input type="submit" value="Submit" />
84 </div> <!-- /.col-sm-10.col-sm-push-2 -->
86 <div class="col-sm-2 col-sm-pull-10">
88 [% INCLUDE 'admin-menu.inc' %]
90 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
93 [% MACRO jsinclude BLOCK %]
94 [% Asset.js("js/admin-menu.js") | $raw %]
97 [% INCLUDE 'intranet-bottom.inc' %]