$('.dataTables_filter input').attr("placeholder", "search courses");
// TODO: can't prepend html to .dataTables_filter input html for fontawesome search icon
});
-
- //scrolling scripts - scrolls to top of page after scrolling between pages
-$(function(){
- $('#paginate_enabled_next').click(function() {
- $("#data-table-sort-by").ScrollTo();;
- });
-
-$(function(){
- $('paginate_enabled_previous').click(function() {
- $("#data-table-sort-by").ScrollTo();;
- });
-});
</script>
{% endblock %}
<td class="no-display"><!-- this spot solely for the Sort By header --></td>
<td class="small-8 columns large-4 slim">{{ note.uploaded_at|date:"l M d o"|capfirst }}</td>
<td class="small-4 columns large-2 large-offset-2 slim">{{ note.thanks }} Thank{{ note.thanks|pluralize }}</td>
-
<td class="small-12 large-5 columns">
<a href="{{ note.get_absolute_url }}">{{ note.name }}</a>
</td>