Bug 8836 [QA Followup 2]
[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
11 <div id="doc3" class="yui-t2">
12     <div id="bd">
13         <div class="yui-b">
14             [% INCLUDE 'tools-menu.inc' %]
15         </div>
16
17         <div class="yui-main">
18             <div class="yui-bd">
19                 <h1>Rotating collections: Transfer collection</h1>
20
21                 [% IF ( transferSuccess ) %]
22                     <div class="alert">Collection transferred successfully</div>
23                 [% ELSIF ( transferFailure ) %]
24                     <div class="alert">Failed to transfer collection!</div>
25                 [% END %]
26
27                 [% IF ( transferSuccess ) %]
28                 [% ELSE %]
29                     <div>
30                         <form action="transferCollection.pl" method="post">
31                             <input type="hidden" name="colId" value="[% colId %]">
32
33                             <label for="toBranch">Choose your library:</label>
34                             <select name="toBranch">
35                                 [% FOREACH branchoptionloo IN branchoptionloop %]
36                                     [% IF ( branchoptionloo.selected ) %]
37                                         <option value="[% branchoptionloo.code %]" selected="selected">[% branchoptionloo.name %]</option>
38                                     [% ELSE %]
39                                         <option value="[% branchoptionloo.code %]">[% branchoptionloo.name %]</option>
40                                     [% END %]
41                                 [% END %]
42                             </select>
43
44                             <input class="btn" type="submit" value="Transfer collection">
45                         </form>
46                     </div>
47                 [% END %]
48
49                 <p>
50                     <a class="btn" href="rotatingCollections.pl">Return to rotating collections home</a>
51                 </p>
52
53             </div>
54         </div>
55     </div>
56 [% INCLUDE 'intranet-bottom.inc' %]