Bug 24335: Cannot mark checkout notes seen/not seen in bulk
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / selectbranchprinter.tt
1 [% USE Branches %]
2 [% USE Koha %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha &rsaquo; Circulation &rsaquo; Set library</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 <style>
7     .noshow {display: none;}
8 </style>
9 </head>
10 <body id="circ_selectbranchprinter" class="circ">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'circ-search.inc' %]
13
14 <div id="breadcrumbs">
15          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16 &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17 &rsaquo; <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
18 </div>
19
20 <div class="main container-fluid">
21     <div class="row">
22         <div class="col-sm-12">
23             <main>
24                 <div class="row">
25
26                 [% IF Koha.Preference('CircSidebar') %]
27                     <div class="col-sm-10 col-sm-push-2">
28                 [% ELSE %]
29                     <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
30                 [% END %]
31
32
33 [% IF ( updated ) %]
34
35 <h2>Update succeeded</h2>
36 Updated:<ul>
37     [% FOREACH update IN updated %]
38     [% IF ( update.updated_branch ) %]
39         <li>Library: [% update.old_branch or "?" | html %] &rArr; [% update.LoginBranchcode or "?" | html %]</li>
40     [% ELSIF ( update.updated_printer ) %]
41       <!-- FIXME:  <li>Printer: [% update.old_printer or "?" | html %] &rArr; [% update.new_printer or "?" | html %]</li> -->
42     [% ELSE %]
43         <li>ERROR - unknown</li>
44     [% END %]
45     [% END %]
46     </ul>
47 <form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]">
48     <div class="noshow">
49         [% FOREACH recycle_loo IN recycle_loop %]
50         <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
51         [% END %]
52     </div>
53     <button type="submit">Continue</button>
54 </form>
55
56 [% ELSE %]
57
58 <form method="post" action="selectbranchprinter.pl">
59 <fieldset class="rows">
60     <legend>Set library</legend>
61     <ol>
62     [% IF ( singleBranchMode && !CAN_user_superlibrarian ) %]
63         <li>SingleBranchMode is ON.</li>
64     [% ELSE %]
65         <li><label for="branch">Choose library:</label>
66         <select name="branch" id="branch">
67             [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
68         </select></li>
69     [% END %]
70 <!--
71     [% IF ( printerloop ) %]
72         <li><label for="printer">Choose a network printer:</label>
73         <select name="printer" id="printer">
74             [% FOREACH printerloo IN printerloop %]
75                 [% IF ( printerloo.selected ) %]
76                     <option value="[% printerloo.value | html %]" selected="selected">[% printerloo.name | html %]</option>
77                 [% ELSE %]
78                     <option value="[% printerloo.value | html %]">[% printerloo.name | html %]</option>
79                 [% END %]
80             [% END %]
81         </select></li>
82     [% END %] -->
83     </ol>
84 </fieldset>
85 <fieldset class="action">
86     <input type="submit" value="Submit" />
87     <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
88 </fieldset>
89 <div class="noshow">
90     [% FOREACH recycle_loo IN recycle_loop %]
91     <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
92     [% END %]
93     <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]" />
94 </div>
95 </form>
96 <!-- /updated -->
97 [% END %]
98
99                     [% IF Koha.Preference('CircSidebar') %]
100                             </div> <!-- /.col-sm-10.col-sm-push-2 -->
101                             <div class="col-sm-2 col-sm-pull-10">
102                                 <aside>
103                                     [% INCLUDE 'circ-nav.inc' %]
104                                 </aside>
105                             </div> <!-- /.col-sm-2.col-sm-pull-10 -->
106                         </div> <!-- /.row -->
107                     [% END %]
108
109             </main>
110         </div> <!-- /.col-sm-12 -->
111     </div> <!-- /.row -->
112
113 [% INCLUDE 'intranet-bottom.inc' %]