snaplet-actionlog-0.2: resources/templates/_list.tpl
<table class="table table-striped actionList">
<thead>
<tr>
<th>Timestamp</th>
<th>User</th>
<th>Entity Name</th>
<th>Entity ID</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<actionlogListing>
<tr>
<td><a href="${actionlogItemShowPath}"><loggedActionAt/></a></td>
<td><loggedActionUserName/></td>
<td><loggedActionEntityName/></td>
<td><loggedActionEntityId/></td>
<td><loggedActionAction/></td>
</tr>
</actionlogListing>
</tbody>
</table>
<script >
$(function() {
$("table.actionList").tablesorter({ sortList: [[0,0]] });
});
</script>