7 [% INCLUDE 'doc-head-open.inc' %]
8 [% IF Koha.Preference('UseCirculationDesks') %]
9 <title>Koha › Circulation › Set library and desk</title>
11 <title>Koha › Circulation › Set library</title>
13 [% INCLUDE 'doc-head-close.inc' %]
15 .noshow {display: none;}
18 <body id="circ_set-library" class="circ">
19 [% INCLUDE 'header.inc' %]
20 [% INCLUDE 'circ-search.inc' %]
22 <div id="breadcrumbs">
23 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
24 › <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
25 › <a href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
28 <div class="main container-fluid">
30 <div class="col-sm-12">
34 [% IF Koha.Preference('CircSidebar') %]
35 <div class="col-sm-10 col-sm-push-2">
37 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
43 <h2>Update succeeded</h2>
45 [% FOREACH update IN updated %]
46 [% IF ( update.updated_branch ) %]
47 <li>Library: [% update.old_branch or "?" | html %] ⇒ [% update.new_branch or "?" | html %]</li>
48 [% ELSIF (update.updated_desk) %]
49 <li>Desk: [% update.old_desk or "?" | html %] ⇒ [% LoginDeskname or "?" | html %]</li>
51 <li>ERROR - unknown</li>
55 <form method="post" action="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]">
57 [% FOREACH recycle_loo IN recycle_loop %]
58 <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
61 <button type="submit">Continue</button>
66 <form method="post" action="set-library.pl">
67 [% IF !( Koha.Preference('IndependentBranches') && !CAN_user_superlibrarian && !CAN_user_editcatalogue_edit_catalogue ) %]
68 <fieldset class="rows">
69 <legend>Set library</legend>
71 <li><label for="branch">Choose library:</label>
72 <select name="branch" id="branch">
73 [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
78 <select name="branch" id="branch" style="visibility:hidden;">
79 [% PROCESS options_for_libraries libraries => Branches.all( selected => branch ) %]
83 [% IF Koha.Preference('UseCirculationDesks') && Desks.all %]
84 <fieldset class="rows">
85 <legend>Set desk</legend>
87 <li><label for="desk">Choose desk:</label>
88 <select name="desk_id" id="desk_id">
89 [% PROCESS options_for_desks desks => Desks.all(), selected => desk_id %]
94 <fieldset class="action">
95 <input type="submit" value="Submit" />
96 <a class="cancel" id="cancel_set_library" href="[% referer or '/cgi-bin/koha/circ/circulation.pl' %]">Cancel</a>
99 [% FOREACH recycle_loo IN recycle_loop %]
100 <input type="text" name="[% recycle_loo.param | html %]" value="[% recycle_loo.value | html %]" />
102 <input type="hidden" name="oldreferer" value="[% referer or "/cgi-bin/koha/circ/circulation.pl" %]" />
108 [% IF Koha.Preference('CircSidebar') %]
109 </div> <!-- /.col-sm-10.col-sm-push-2 -->
110 <div class="col-sm-2 col-sm-pull-10">
112 [% INCLUDE 'circ-nav.inc' %]
114 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
115 </div> <!-- /.row -->
119 </div> <!-- /.col-sm-12 -->
120 </div> <!-- /.row -->
123 [% MACRO jsinclude BLOCK %]
124 [% Asset.js("js/desk_selection.js") | $raw %]
127 [% INCLUDE 'intranet-bottom.inc' %]