diff --git a/templates/contest/ranking-table.html b/templates/contest/ranking-table.html index 5779fe8..f74cd74 100644 --- a/templates/contest/ranking-table.html +++ b/templates/contest/ranking-table.html @@ -10,7 +10,7 @@ {% block after_rank %} {% if has_rating %} - {% if user.participation_rating %}{{ rating_number(user.participation_rating) }}{% endif %} + {% if user.participation_rating %}{{ rating_number(user.participation_rating) }}{% endif %} {% endif %} {% endblock %} @@ -57,6 +57,7 @@ {{- contest.get_label_for_problem(loop.index0) }}
{{ problem.points }}
+
{% endfor %} {% endblock %} diff --git a/templates/contest/ranking.html b/templates/contest/ranking.html index 087a905..b3813c4 100644 --- a/templates/contest/ranking.html +++ b/templates/contest/ranking.html @@ -88,9 +88,9 @@ return; } else if ($col.hasClass('username')) { header.push(clean_text($col.text())); - header.push("Name"); + header.push("Full name"); } else if ($col.hasClass('problem-score-col')) { - header.push($col.attr("title")); + header.push(clean_text($col.find('.problem-code').tex())); } else { header.push(clean_text($col.text())); } @@ -153,7 +153,10 @@ - {{ _('Download as CSV') }} + + + {{ _('Download as CSV') }} + {% include "contest/ranking-table.html" %} {% endblock %} \ No newline at end of file