Merge branch 'master' of https://github.com/LQDJudge/online-judge
This commit is contained in:
commit
3bf31ff073
2 changed files with 14 additions and 3 deletions
|
@ -399,6 +399,17 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block comments %}
|
{% block comments %}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<div class="blog-box">
|
<div class="blog-box">
|
||||||
<h3 class="problem-feed-name">
|
<h3 class="problem-feed-name">
|
||||||
|
<a href="{{ ticket.linked_item.get_absolute_url() }}">
|
||||||
|
{{ ticket.linked_item|item_title }}</a>
|
||||||
|
·
|
||||||
<a href="{{ url('ticket', ticket.id) }}">
|
<a href="{{ url('ticket', ticket.id) }}">
|
||||||
{{ ticket.title }}
|
{{ ticket.title }}
|
||||||
</a>
|
</a>
|
||||||
-
|
|
||||||
<a href="{{ ticket.linked_item.get_absolute_url() }}">
|
|
||||||
{{ ticket.linked_item|item_title }}</a>
|
|
||||||
</h3>
|
</h3>
|
||||||
{% with author=ticket.user %}
|
{% with author=ticket.user %}
|
||||||
{% if author %}
|
{% if author %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue