personal-competition/modules/personal_competition/index.html.erb

36 lines
1.0 KiB
Plaintext

<table class="table table-hover table-striped projects-index competitions-index dt-responsive nowrap">
<caption><h3>{{widget-title}}</h3></caption>
<thead>
<tr>
<th class="col-md-1">{{year}}</th>
<th class="col-md-2">{{competition_name}}</th>
<th class="col-md-2">{{award_name}}</th>
<th class="col-md-1">{{award_place}}</th>
<th class="col-md-2">{{awarding_unit}}</th>
<th class="col-md-2 min-tablet-l">{{competition_date}}</th>
<th class="col-md-1 min-tablet-l">{{note}}</th>
</tr>
</thead>
<tbody data-level="0" data-list="competitions">
<tr>
<td>{{year}}</td>
<td><a href="{{link_to_show}}">{{competition_name}}</a></td>
<td>{{award_name}}</td>
<td>{{award_place}}</td>
<td>{{awarding_unit}}</td>
<td date-format="%Y-%m-%d">{{competition_date}}</td>
<td>{{note}}</td>
</tr>
</tbody>
</table>
{{pagination_goes_here}}
<script>
$('table.competitions-index').DataTable({
searching: false,
paging: false,
ordering: false,
info: false
});
</script>