Bug 15758: Koha::Libraries - Remove GetBranches
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / rotating_collections / transferCollection.tt
1 [% USE Branches %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Tools &rsaquo; Rotating collections &rsaquo; Transfer collection</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6 <body id="rcoll_transferCollection" class="tools rcoll">
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'cat-search.inc' %]
9
10 <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 %]">Collection <i>[% colTitle %]</i></a> &rsaquo; Transfer collection</div>
11
12 <div id="doc3" class="yui-t2">
13     <div id="bd">
14         <div id="yui-main">
15             <div class="yui-b">
16
17                 <h1>Transfer collection <i>[% colTitle %]</i></h1>
18
19                 [% IF ( transferSuccess ) %]
20                     <div class="dialog message">
21                         <p>Collection transferred successfully</p>
22                         <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
23                     </div>
24                 [% ELSIF ( transferFailure ) %]
25                     <div class="dialog alert">
26                         <p>Failed to transfer collection</p>
27                         <p><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Return to rotating collections home</a></p>
28                     </div>
29                 [% END %]
30
31                 [% IF ( transferSuccess ) %]
32                 [% ELSE %]
33                     <div>
34                         <form action="transferCollection.pl" method="post">
35                             <input type="hidden" name="colId" value="[% colId %]" />
36                             <fieldset class="rows">
37                                 <ol>
38                                     <li>
39                                         <label for="toBranch">Choose your library:</label>
40                                         <select id="toBranch" name="toBranch">
41                                             [% PROCESS options_for_libraries libraries => Branches.all( unfiltered => 1 ) %]
42                                         </select>
43                                     </li>
44                                 </ol>
45                             </fieldset>
46                             <fieldset class="action">
47                                 <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a>
48                             </fieldset>
49                         </form>
50                     </div>
51                 [% END %]
52
53             </div> <!-- /.yui-b -->
54         </div> <!-- /#yui-main -->
55         <div class="yui-b">
56             [% INCLUDE 'tools-menu.inc' %]
57         </div>
58     </div> <!-- /#bd -->
59 [% INCLUDE 'intranet-bottom.inc' %]