diff --git a/frx_challenges/web/templates/results.html b/frx_challenges/web/templates/results.html index b419eb7..86c2780 100644 --- a/frx_challenges/web/templates/results.html +++ b/frx_challenges/web/templates/results.html @@ -26,10 +26,9 @@

Leaderboard

- +
- {% for md in metadata_display %}{% endfor %} @@ -39,12 +38,11 @@

Leaderboard

{% for result in results %} - - {% for m in result.metadata %}{% endfor %} + {% for r in result.best_version.latest_evaluation.ordered_results %}
ID Date created Submission Name{{ md }}
{{ result.submission.id }}{{ result.submission.created_at|date:"c" }} {{ result.submission.name }} {{ m }}{{ result.submission.created_at|date:"c" }} {% if r %}{{ r }}{% endif %} @@ -64,11 +62,11 @@

Leaderboard

const resultsTable = new DataTable("#results", { order: [ // Apply reverse chronological ordering by default - [1, "desc"] + [0, "desc"] ], columnDefs: [ { - targets: 1, + targets: 0, render: (data) => { return dayjs(data).fromNow(); } diff --git a/frx_challenges/web/templates/submission/list.html b/frx_challenges/web/templates/submission/list.html index 54ea74b..afc6b4b 100644 --- a/frx_challenges/web/templates/submission/list.html +++ b/frx_challenges/web/templates/submission/list.html @@ -30,7 +30,7 @@

My Submissions

- +
Name