3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Circulation › Set library</title>
5 [% INCLUDE 'doc-head-close.inc' %]
7 .noshow {display: none;}
10 <body id="circ_selectbranchprinter" class="circ">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'circ-search.inc' %]
14 <div id="breadcrumbs">
15 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16 › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17 › <a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
20 <div class="main container-fluid">
22 <div class="col-sm-12">
26 [% IF Koha.Preference('CircSidebar') %]
27 <div class="col-sm-10 col-sm-push-2">
29 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
35 <h2>Update succeeded</h2>
37 [% FOREACH update IN updated %]
38 [% IF ( update.updated_branch ) %]
39 <li>Library: [% update.old_branch or "?" | html %] ⇒ [% update.LoginBranchcode or "?" | html %]</li>
40 [% ELSIF ( update.updated_printer ) %]
41 <!-- FIXME: <li>Printer: [% update.old_printer or "?" | html %] ⇒ [% update.new_printer or "?" | html %]</li> -->
43 <li>ERROR - unknown</li>
47 <form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]">
49 [% FOREACH recycle_loo IN recycle_loop %]
50 <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
53 <button type="submit">Continue</button>
58 <form method="post" action="selectbranchprinter.pl">
59 <fieldset class="rows">
60 <legend>Set library</legend>
62 [% IF ( singleBranchMode && !CAN_user_superlibrarian ) %]
63 <li>SingleBranchMode is ON.</li>
65 <li><label for="branch">Choose library:</label>
66 <select name="branch" id="branch">
67 [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
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>
78 <option value="[% printerloo.value | html %]">[% printerloo.name | html %]</option>
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>
90 [% FOREACH recycle_loo IN recycle_loop %]
91 <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
93 <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]" />
99 [% IF Koha.Preference('CircSidebar') %]
100 </div> <!-- /.col-sm-10.col-sm-push-2 -->
101 <div class="col-sm-2 col-sm-pull-10">
103 [% INCLUDE 'circ-nav.inc' %]
105 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
106 </div> <!-- /.row -->
110 </div> <!-- /.col-sm-12 -->
111 </div> <!-- /.row -->
113 [% INCLUDE 'intranet-bottom.inc' %]