Skip to content

Commit

Permalink
Link editorial on problem list
Browse files Browse the repository at this point in the history
  • Loading branch information
Riolku committed Mar 25, 2022
1 parent dc59830 commit 993d6e6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions templates/problem/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,15 @@ <h3>{{ _('Hot problems') }} <i class="fa fa-fire"></i></h3>
<td class="p">{{ problem.points|floatformat }}{% if problem.partial %}p{% endif %}</td>
{% if not request.in_contest %}
<td class="ac-rate">{{ problem.ac_rate|floatformat(1) }}%</td>
{% if problem.has_public_editorial %}
<td>
<i class="has-editorial-color fa fa-check-circle"></i>
</td>
{% else %}
<td>
<td>
{% if problem.has_public_editorial %}
<a href="{{ url('problem_editorial', problem.code) }}">
<i class="has-editorial-color fa fa-check-circle"></i>
</a>
{% else %}
<i class="no-editorial-color fa fa-minus-circle"></i>
</td>
{% endif %}
{% endif %}
</td>
{% endif %}
<td class="users">
<a href="{{ url('ranked_submissions', problem.code) }}">
Expand Down

0 comments on commit 993d6e6

Please sign in to comment.