Update gymnast injury tab details

This commit is contained in:
Gregory Trullemans 2023-11-14 13:13:00 +01:00
parent 0f950847c4
commit ad1f851627
2 changed files with 10 additions and 2 deletions

View File

@ -120,6 +120,14 @@
var timeFormat = 'DD-MM-YYYY'; var timeFormat = 'DD-MM-YYYY';
$('#injury_table').tablesorter({
headers: {
0: { sorter: false },
},
dateFormat: "uk",
sortList: [[1, 1]]
});
{% if height_weight_list %} {% if height_weight_list %}
var ctx = document.getElementById("chart_height_weight").getContext("2d"); var ctx = document.getElementById("chart_height_weight").getContext("2d");

View File

@ -170,7 +170,7 @@
// }, // },
dateFormat: "uk", dateFormat: "uk",
sortList: [[0, 0],] sortList: [[0, 0],]
}) });
$('#stats_table').tablesorter({ $('#stats_table').tablesorter({
// headers: { // headers: {
@ -178,7 +178,7 @@
// }, // },
dateFormat: "uk", dateFormat: "uk",
sortList: [[0, 1],] sortList: [[0, 1],]
}) });
$('.action-button').click(function () { $('.action-button').click(function () {
$.ajax({ $.ajax({