Lines 12-40
Link Here
|
12 |
[% UNLESS count %] |
12 |
[% UNLESS count %] |
13 |
<h2>Your search returned no results.</h2> |
13 |
<h2>Your search returned no results.</h2> |
14 |
[% ELSIF ( supplier.length < 1 ) %] |
14 |
[% ELSIF ( supplier.length < 1 ) %] |
15 |
<h2>Vendor search: [% count | html %] result(s) found</h2> |
15 |
<h2>[% count | html %] result(s) found</h2> |
16 |
[% ELSE %] |
16 |
[% ELSE %] |
17 |
<h2>Vendor search: [% count | html %] result(s) found for '[% supplier | html %]'</h2> |
17 |
<h2>[% count | html %] result(s) found for '[% supplier | html %]'</h2> |
18 |
[% END %] |
18 |
[% END %] |
19 |
|
19 |
|
20 |
[% IF ( loop_suppliers ) %] |
20 |
[% IF ( loop_suppliers ) %] |
21 |
<table> |
21 |
<div class="page-section"> |
22 |
<tr> |
22 |
<table> |
23 |
<th>Vendor</th> |
|
|
24 |
<th>Select</th> |
25 |
</tr> |
26 |
[% FOREACH loop_supplier IN loop_suppliers %] |
27 |
<tr> |
23 |
<tr> |
28 |
<td>[% loop_supplier.name | html %]</td> |
24 |
<th>Vendor</th> |
29 |
<td><a class="btn btn-default btn-xs select_vendor" href="#" data-vendorid="[% loop_supplier.aqbooksellerid | html %]" data-vendorname="[% loop_supplier.name | html %]">Choose</a></td> |
25 |
<th>Select</th> |
30 |
</tr> |
26 |
</tr> |
31 |
[% END %] |
27 |
[% FOREACH loop_supplier IN loop_suppliers %] |
32 |
</table> |
28 |
<tr> |
|
|
29 |
<td>[% loop_supplier.name | html %]</td> |
30 |
<td><a class="btn btn-default btn-xs select_vendor" href="#" data-vendorid="[% loop_supplier.aqbooksellerid | html %]" data-vendorname="[% loop_supplier.name | html %]">Choose</a></td> |
31 |
</tr> |
32 |
[% END %] |
33 |
</table> |
34 |
</div> <!-- /.page-section --> |
33 |
[% END %] |
35 |
[% END %] |
34 |
|
36 |
|
35 |
<p><a href="/cgi-bin/koha/serials/acqui-search.pl">Perform a new search</a></p> |
37 |
<nav class="navbar navbar-default navbar-fixed-bottom"> |
36 |
|
38 |
<div class="container-fluid"> |
37 |
<div id="closewindow"><a href="#" class="btn btn-default btn-default close">Cancel</a></div> |
39 |
<fieldset class="action"> |
|
|
40 |
<form action="/cgi-bin/koha/serials/acqui-search.pl"> |
41 |
<button class="btn btn-default" type="submit"><i class="fa fa-arrow-left"></i> Perform a new search</button> |
42 |
</form> |
43 |
<button type="button" class="btn btn-default close_window">Close window</button> |
44 |
</fieldset> |
45 |
</div> |
46 |
</nav> |
38 |
|
47 |
|
39 |
[% MACRO jsinclude BLOCK %] |
48 |
[% MACRO jsinclude BLOCK %] |
40 |
<script> |
49 |
<script> |