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