This commit is contained in:
cuom1999 2022-03-21 16:43:35 -05:00
commit 3bf31ff073
2 changed files with 14 additions and 3 deletions

View file

@ -399,6 +399,17 @@
</div>
</div>
{% endif %}
{% if not (contest_problem and contest_problem.contest.use_clarifications) %}
<div id="comment-announcement-container">
<div id="comment-announcement">
{% if has_comments %}
{{_('View comments')}} ({{comment_list.count()}})
{% else %}
{{_('Be the first to comment')}}
{% endif %}
</div>
</div>
{% endif %}
{% endblock %}
{% block comments %}

View file

@ -1,11 +1,11 @@
<div class="blog-box">
<h3 class="problem-feed-name">
<a href="{{ ticket.linked_item.get_absolute_url() }}">
{{ ticket.linked_item|item_title }}</a>
&#183
<a href="{{ url('ticket', ticket.id) }}">
{{ ticket.title }}
</a>
-
<a href="{{ ticket.linked_item.get_absolute_url() }}">
{{ ticket.linked_item|item_title }}</a>
</h3>
{% with author=ticket.user %}
{% if author %}