Lines 90-146
Link Here
|
90 |
[% END %] |
90 |
[% END %] |
91 |
<fieldset class="brief"> |
91 |
<fieldset class="brief"> |
92 |
<label>Search Patrons or clubs</label> |
92 |
<label>Search Patrons or clubs</label> |
93 |
<div id="circ_holds_select"> |
93 |
<div id="circ_holds_select" class="toptabs"> |
94 |
<ul class="nav nav-tabs" role="tablist"> |
94 |
<ul> |
95 |
<li role="presentation"><a href="#holds_patronsearch_pane" aria-controls="holds_patronsearch_pane" role="tab" data-toggle="tab">Patrons</a></li> |
95 |
<li><a href="#holds_patronsearch_pane">Patrons</a></li> |
96 |
<li role="presentation"><a href="#holds_clubsearch_pane" aria-controls="holds_clubsearch_pane" role="tab" data-toggle="tab">Clubs</a></li> |
96 |
<li><a href="#holds_clubsearch_pane">Clubs</a></li> |
97 |
</ul> |
97 |
</ul> |
98 |
<div class="tab-content"> |
98 |
<div id="holds_patronsearch_pane"> |
99 |
<div role="tabpanel" class="tab-pane" id="holds_patronsearch_pane"> |
99 |
<form id="holds_patronsearch" action="request.pl?biblionumber=[% biblionumber | html %]" method="post"> |
100 |
<form id="holds_patronsearch" action="request.pl?biblionumber=[% biblionumber | html %]" method="post"> |
100 |
<div class="hint">Enter patron card number or partial name:</div> |
101 |
<div class="hint">Enter patron card number or partial name:</div> |
101 |
<input type="text" size="40" id="patron" class="focus" name="findborrower" autocomplete="off" /> |
102 |
<input type="text" size="40" id="patron" class="focus" name="findborrower" autocomplete="off" /> |
102 |
<input type="submit" value="Search" /> |
103 |
<input type="submit" value="Search" /> |
103 |
[% IF multi_hold %] |
104 |
[% IF multi_hold %] |
104 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
105 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
105 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
106 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
106 |
[% ELSE %] |
107 |
[% ELSE %] |
107 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
108 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
108 |
[% END %] |
109 |
[% END %] |
|
|
110 |
|
109 |
|
111 |
[% IF ( multi_hold ) %] |
110 |
[% IF ( multi_hold ) %] |
112 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
111 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
113 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
112 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
114 |
[% END %] |
113 |
[% END %] |
115 |
</form> <!-- /#holds_patronsearch --> |
114 |
</form> <!-- /#holds_patronsearch --> |
116 |
</div> |
115 |
[% IF borrowers %] |
117 |
<div role="tabpanel" class="tab-pane" id="holds_clubsearch_pane"> |
116 |
[% INCLUDE 'circ-patron-search-results.inc' destination = "holds" %] |
118 |
<form id="holds_clubsearch" action="request.pl?biblionumber=[% biblionumber | html %]" method="post"> |
117 |
[% END %] |
119 |
<div class="hint">Enter club id or partial name:</div> |
118 |
</div> |
120 |
<input type="text" size="40" id="club" class="focus" name="findclub" autocomplete="off" /> |
119 |
<div id="holds_clubsearch_pane"> |
121 |
<input type="submit" value="Search" /> |
120 |
<form id="holds_clubsearch" action="request.pl?biblionumber=[% biblionumber | html %]" method="post"> |
122 |
[% IF multi_hold %] |
121 |
<div class="hint">Enter club id or partial name:</div> |
123 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
122 |
<input type="text" size="40" id="club" class="focus" name="findclub" autocomplete="off" /> |
124 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
123 |
<input type="submit" value="Search" /> |
125 |
[% ELSE %] |
124 |
[% IF multi_hold %] |
126 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
125 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
127 |
[% END %] |
126 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
|
|
127 |
[% ELSE %] |
128 |
<input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /> |
129 |
[% END %] |
128 |
|
130 |
|
129 |
[% IF ( multi_hold ) %] |
131 |
[% IF ( multi_hold ) %] |
130 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
132 |
<input type="hidden" name="multi_hold" value="[% multi_hold | html %]"/> |
131 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
133 |
<input type="hidden" name="biblionumbers" value="[% biblionumbers | html %]"/> |
132 |
[% END %] |
134 |
[% END %] |
133 |
</form> <!-- /#holds_patronsearch --> |
135 |
</form> <!-- /#holds_patronsearch --> |
134 |
</div> |
136 |
[% IF clubs %] |
|
|
137 |
[% INCLUDE 'clubs-table.inc' destination = "holds" %] |
138 |
[% END %] |
135 |
</div> |
139 |
</div> |
136 |
</div> |
140 |
</div> |
137 |
<p> |
|
|
138 |
[% IF borrowers %] |
139 |
[% INCLUDE 'circ-patron-search-results.inc' destination = "holds" %] |
140 |
[% ELSIF clubs %] |
141 |
[% INCLUDE 'clubs-table.inc' destination = "holds" %] |
142 |
[% END %] |
143 |
</p> |
144 |
</fieldset> |
141 |
</fieldset> |
145 |
[% ELSIF club %] |
142 |
[% ELSIF club %] |
146 |
<div class="dialog alert hide clubalert"> |
143 |
<div class="dialog alert hide clubalert"> |
147 |
- |
|
|