Bug 8100: DataTables integration in acquisition module [8]
neworderbiblio.tt http://bugs.koha-community.org/show_bug.cgi?id=8100 Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Fixed bug number. Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
e31768aab1
commit
8a2139e495
|
|
@ -1,7 +1,23 @@
|
|||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › Acquisitions › Search existing records</title>
|
||||
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
|
||||
[% INCLUDE 'greybox.inc' %]
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
|
||||
[% INCLUDE 'datatables-strings.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
$(document).ready(function() {
|
||||
var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
|
||||
'bPaginate': false,
|
||||
'bFilter': false,
|
||||
'bInfo': false,
|
||||
'bSort': false,
|
||||
} ) );
|
||||
});
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
<body id="acq_neworderbiblio" class="acq">
|
||||
[% INCLUDE 'header.inc' %]
|
||||
|
|
@ -34,14 +50,18 @@
|
|||
|
||||
[% IF ( total ) %]
|
||||
<div class="searchresults">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Summary</th>
|
||||
<th>Publisher</th>
|
||||
<th>Copyright</th>
|
||||
<th colspan="2"> </th>
|
||||
</tr>
|
||||
[% FOREACH biblio IN resultsloop %]
|
||||
<table id="resultst">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Summary</th>
|
||||
<th>Publisher</th>
|
||||
<th>Copyright</th>
|
||||
<th> </th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH biblio IN resultsloop %]
|
||||
<tr>
|
||||
<td>
|
||||
<p><span class="title">[% biblio.title |html %]</span>
|
||||
|
|
@ -68,7 +88,8 @@
|
|||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue