+ </aside>
+</div> <!-- /.col-sm-2.col-sm-pull-10 -->
+</div> <!-- /.row -->
+
+[% MACRO jsinclude BLOCK %]
+ [% Asset.js("js/acquisitions-menu.js") | $raw %]
+ [% INCLUDE 'datatables.inc' %]
+ [% INCLUDE 'calendar.inc' %]
+ <script>
+ function updateRowsVisibility(show_only_renewed) {
+ if ( show_only_renewed ) {
+ $("#srlt [data-reneweddate='']").hide();
+ } else {
+ $("#srlt > tbody > tr").show();
+ }
+ }
+
+ $(document).ready(function() {
+ $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, {
+ "aoColumnDefs": [
+ { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] },
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
+ ],
+ "sPaginationType": "full"
+ }));
+
+ $("#show_only_renewed").click(function(){
+ updateRowsVisibility( $(this).is(":checked") );
+ });
+ $("#show_only_renewed").prop('checked', false);
+ updateRowsVisibility(false);
+
+ $("#advsearch_form").show();
+ });
+ </script>
+[% END %]
+