Skip to content

Commit

Permalink
Comment rules ref in list
Browse files Browse the repository at this point in the history
  • Loading branch information
hung3a8 committed Sep 2, 2021
1 parent d538a84 commit 1f244e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/comments/list.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{% if not request.official_contest_mode or request.user.is_superuser %}
<div id="comments" class="comment-area">
<h2><i style="padding-right: 0.3em" class="fa fa-comments"></i>{{ _('Comments') }}</h2>
{% if not comment_lock %}
<div class="alert alert-warning" style="width: 100%">
{{_('Please read the <a href="/about/comment/">guidelines</a> before commenting.')}}
</div>
<hr><br>
{% endif %}
{% if has_comments %}
<ul class="comments top-level-comments new-comments">
{% set logged_in = request.user.is_authenticated %}
Expand Down

0 comments on commit 1f244e1

Please sign in to comment.