AsiaV2b/modules/personal_tec_transfer/index.html.erb

48 lines
1.1 KiB
Plaintext

<table class="table table-hover table-striped projects-index tec_transfers-index dt-responsive">
<caption><h3>{{widget-title}}</h3></caption>
<thead>
<tr>
<th class="col-md-1">{{th-trans_name}}</th>
<th class="col-md-1">{{th-patent_number}}</th>
<th class="col-md-1">{{th-trans_unit}}</th>
<th class="col-md-1">{{th-period}}</th>
<th class="col-md-1">{{th-member_profile}}</th>
</tr>
</thead>
<tbody data-level="0" data-list="tec_transfers">
<tr>
<td>{{trans_name}}</td>
<td>{{patent_number}}</td>
<td>{{trans_unit}}</td>
<td>{{period}}</td>
<td>{{member_profile}}</td>
</tr>
</tbody>
</table>
{{pagination_goes_here}}
<script>
$('table.tec_transfers-index').each(function(){
if($(this).find('thead').length!=0 && $(this).find('td').length!=0 && !$(this).hasClass('dataTable')){
$(this).DataTable({
searching: false,
paging: false,
ordering: false,
info: false,
autoWidth: false
});
}
});;
</script>