personal-volunteer/modules/personal_volunteer/index.html.erb

40 lines
1.3 KiB
Plaintext

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