summaryrefslogtreecommitdiff
path: root/app/posts
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf>2021-01-15 18:59:14 -0500
committerluxagraf <sng@luxagraf>2021-01-15 18:59:14 -0500
commita035c997f5479a027a6cfe4f94cf87d67bac30d9 (patch)
tree5c77d23bad5aaedd5ea4a7d7208532d218ce8190 /app/posts
parent04ebc1c74959ccbd7f35c6036fce5185ee9e860a (diff)
posts: fixed src tempate to use updated comment form names
Diffstat (limited to 'app/posts')
-rw-r--r--app/posts/templates/posts/src_detail.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/posts/templates/posts/src_detail.html b/app/posts/templates/posts/src_detail.html
index 179bb68..675531c 100644
--- a/app/posts/templates/posts/src_detail.html
+++ b/app/posts/templates/posts/src_detail.html
@@ -94,20 +94,21 @@
</div>
</div>{%endif%}
</main>
- {% if object.slug != 'about' %}
{% if object.enable_comments %}
{% get_comment_count for object as comment_count %}
{%if comment_count > 0 %}
-<p class="comments--header">{{comment_count}} Comment{{ comment_count|pluralize }}</p>
+<div class="comment-wrapper">
+<p class="comments-header">{{comment_count}} Comment{{ comment_count|pluralize }}</p>
{% render_comment_list for object %}
{%endif%}
-<div class="comment--form--wrapper {%if comment_count > 0%}comment-form-border{%endif%}">
+<div class="comment-form-wrapper {%if comment_count > 0%}comment-form-border{%endif%}">
{% render_comment_form for object %}
</div>
{% else %}
<p class="comments--header" style="text-align: center">Sorry, comments have been disabled for this post.</p>
{%endif%}
-{%endif%}
+</div>
+</main>
{% endblock %}
{% block js %}
<script type="text/javascript">