Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Correctly load datatables files from bower folder

Roland Geiderc44a3a797bb6
diff --git a/wger/gym/templates/gym/member_list.html b/wger/gym/templates/gym/member_list.html
index 73889f427..f250fb735 100644
--- a/wger/gym/templates/gym/member_list.html
+++ b/wger/gym/templates/gym/member_list.html
@@ -14,8 +14,9 @@
{% block header %}
-<link rel="stylesheet" type="text/css" href="{% static 'css/jquery.dataTables.css' %}">
-<script src="{% static 'js/jquery.dataTables.min.js' %}" ></script>
+<link rel="stylesheet" type="text/css" href="{% static 'bower_components/datatables/media/css/dataTables.bootstrap.min.css' %}">
+<script src="{% static 'bower_components/datatables/media/js/jquery.dataTables.min.js' %}" ></script>
+<script src="{% static 'bower_components/datatables/media/js/dataTables.bootstrap.min.js' %}" ></script>
<script>
$(document).ready( function () {
/* Make table sortable */