Bug 22970: Allow to change homebranch in batch add course reserves
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / transferCollection.tt
bloba6cd1461a1db0a9e858b107c2fe734d6208fb8fa
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Branches %]
4 [% SET footerjs = 1 %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Transfer collection</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 </head>
9 <body id="rcoll_transferCollection" class="tools rcoll">
10 [% INCLUDE 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
13 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> &rsaquo; <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% colId | html %]">Collection <i>[% colTitle | html %]</i></a> &rsaquo; Transfer collection</div>
15 <div class="main container-fluid">
16     <div class="row">
17         <div class="col-sm-10 col-sm-push-2">
18             <main>
20                 <h1>Transfer collection <i>[% colTitle | html %]</i></h1>
22                 [% IF ( transferSuccess ) %]
23                     <div class="dialog message">
24                         <p>Collection transferred successfully</p>
25                         <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
26                     </div>
27                 [% ELSIF ( transferFailure ) %]
28                     <div class="dialog alert">
29                         <p>Failed to transfer collection</p>
30                         <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
31                     </div>
32                 [% END %]
34                 [% IF ( transferSuccess ) %]
35                 [% ELSE %]
36                     <div>
37                         <form action="transferCollection.pl" method="post">
38                             <input type="hidden" name="colId" value="[% colId | html %]" />
39                             <fieldset class="rows">
40                                 <ol>
41                                     <li>
42                                         <label for="toBranch">Choose your library:</label>
43                                         <select id="toBranch" name="toBranch">
44                                             [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
45                                         </select>
46                                     </li>
47                                 </ol>
48                             </fieldset>
49                             <fieldset class="action">
50                                 <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
51                             </fieldset>
52                         </form>
53                     </div>
54                 [% END %]
56             </main>
57         </div> <!-- /.col-sm-10.col-sm-push-2 -->
59         <div class="col-sm-2 col-sm-pull-10">
60             <aside>
61                 [% INCLUDE 'tools-menu.inc' %]
62             </aside>
63         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
64      </div> <!-- /.row -->
66 [% MACRO jsinclude BLOCK %]
67     [% Asset.js("js/tools-menu.js") | $raw %]
68     [% Asset.js("js/rotating-collections.js") | $raw %]
69 [% END %]
71 [% INCLUDE 'intranet-bottom.inc' %]