From b475a6e011b8f76ca65b0a7152ade0020927f701 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 12 Feb 2021 09:11:38 -0500 Subject: templates: fixed page detail comments and added cross promotion on newsletter list pages --- app/pages/templates/pages/luxagraf/page_detail.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/pages') diff --git a/app/pages/templates/pages/luxagraf/page_detail.html b/app/pages/templates/pages/luxagraf/page_detail.html index fc66917..4029f24 100644 --- a/app/pages/templates/pages/luxagraf/page_detail.html +++ b/app/pages/templates/pages/luxagraf/page_detail.html @@ -19,12 +19,15 @@ {% if object.enable_comments %} {% get_comment_count for object as comment_count %} {%if comment_count > 0 %} -

{{comment_count}} Comment{{ comment_count|pluralize }}

+
+

{{comment_count}} Comment{{ comment_count|pluralize }}

{% render_comment_list for object %} {%endif%} -
+
{% render_comment_form for object %}
+{% else %} +

Sorry, comments have been disabled for this post.

{%endif%} {% endblock %} -- cgit v1.2.3-70-g09d2