Merge branch 'bug_9850' into 3.14-master
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / transferCollection.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Transfer collection</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body id="rcoll_transferCollection" class="tools rcoll">
6 [% INCLUDE 'header.inc' %]
7 [% INCLUDE 'cat-search.inc' %]
8
9 <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; Transfer collection</div>
10 <div id="doc3">
11 <div id="bd">
12         <div class="yui-gb">
13       <h1>Rotating collections: Transfer collection</h1>
14     <br />
15       [% IF ( transferSuccess ) %]
16         <div>Collection transferred successfully</div>
17       [% END %]
18
19       [% IF ( transferFailure ) %]
20         <div>Failed to transfer collection!</div>
21         <div>Reason: <strong>[% errorMessage %]</strong></div>
22       [% END %]
23
24       [% IF ( transferSuccess ) %]
25       [% ELSE %]
26         <div>
27           <form action="transferCollection.pl" method="post">
28             <input type="hidden" name="colId" value="[% colId %]">
29   
30             <label for="toBranch">Choose your library:</label>
31             <select name="toBranch">
32               [% FOREACH branchoptionloo IN branchoptionloop %]
33                 [% IF ( branchoptionloo.selected ) %]<option value="[% branchoptionloo.code %]" selected="selected">[% branchoptionloo.name %]</option>[% ELSE %]<option value="[% branchoptionloo.code %]">[% branchoptionloo.name %]</option>[% END %]
34               [% END %]
35             </select>
36             <INPUT type="submit" value="Transfer collection">
37           </form>
38         </div>
39       [% END %]
40
41       <div>
42         <br/>
43         <input type="button" value="Return to rotating collections home" onclick="window.location.href='rotatingCollections.pl'">
44       </div>
45
46 </div>
47 </div>
48 [% INCLUDE 'intranet-bottom.inc' %]