Skip to content

Commit

Permalink
Fix space before commas for administrator judge list; DMOJ#78
Browse files Browse the repository at this point in the history
(cherry picked from commit 3953111)
  • Loading branch information
Ninjaclasher authored and SchrodingerZhu committed Feb 6, 2019
1 parent 2baf8cd commit 476e78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/problem/problem.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ <h2 id="h2Title" style="color:#393630; display: inline-block">{{ title }}</h2>
{% if perms.judge.change_judge %}
{% for judge in available_judges %}
<a href="{{ url('admin:judge_judge_change', judge.id) }}">{{ judge.name }}</a>
{% if not loop.last %}, {% endif %}
{%- if not loop.last %}, {% endif %}
{% endfor %}
{% else %}
{{ available_judges|join(", ") }}
Expand Down

0 comments on commit 476e78a

Please sign in to comment.