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