From 4eb5563f075145ca886da7294e8b51ec38d408e0 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 28 Nov 2017 14:11:23 -0500 Subject: [PATCH 1/5] Update details.html --- example/frontend/templates/article/details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/frontend/templates/article/details.html b/example/frontend/templates/article/details.html index 791a51f..7505307 100644 --- a/example/frontend/templates/article/details.html +++ b/example/frontend/templates/article/details.html @@ -33,7 +33,7 @@

{{ article.title }}

{% if comments_count %} -

{% blocktrans with entry_title=article.title count comments_count=comments_count %}{{ comments_count }} comment to {{ entry_title }}{% plural %}{{ comments_count }} comments to {{ entry_title }}{% endblocktrans %}

+

{% blocktrans with entry_title=article.title count comments_count=comments_count %}{{ comments_count }} comment to {{ entry_title }}{% plural %}{{ comments_count }} comments to {{ entry_title }}{% endblocktrans %}

{% render_comment_list for object %} {% if not article|comments_are_open %} From 8eef2117cca0161ff354bfe55623ed80cd7e8ea3 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 28 Nov 2017 14:12:38 -0500 Subject: [PATCH 2/5] Update base.html --- example/frontend/templates/base.html | 1 + 1 file changed, 1 insertion(+) diff --git a/example/frontend/templates/base.html b/example/frontend/templates/base.html index 41edae0..4166425 100644 --- a/example/frontend/templates/base.html +++ b/example/frontend/templates/base.html @@ -39,5 +39,6 @@ {% block main %}{% endblock %}
+ {% block scripts %}{% endblock %} From 6a385cd613481f9624e4a031cdd288d58d7c59b4 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 28 Nov 2017 14:15:58 -0500 Subject: [PATCH 3/5] Update details.html --- .../frontend/templates/article/details.html | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/example/frontend/templates/article/details.html b/example/frontend/templates/article/details.html index 7505307..daf822d 100644 --- a/example/frontend/templates/article/details.html +++ b/example/frontend/templates/article/details.html @@ -8,6 +8,31 @@ {% block scripts %}{{ block.super }} + {% endblock %} {% block main %} From 5f290c7d1719c4ff592ab7f83eb1ef7604449384 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 28 Nov 2017 14:19:27 -0500 Subject: [PATCH 4/5] Update base.html Moved the script to the body --- example/frontend/templates/base.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/example/frontend/templates/base.html b/example/frontend/templates/base.html index 4166425..77f7890 100644 --- a/example/frontend/templates/base.html +++ b/example/frontend/templates/base.html @@ -10,9 +10,6 @@ {% block headtitle %}{% endblock %} {% block extrahead %}{% endblock %} - {% block scripts %} - - {% endblock %} @@ -39,6 +36,8 @@ {% block main %}{% endblock %} - {% block scripts %}{% endblock %} + {% block scripts %} + + {% endblock %} From f457c16ca28ea9a864bd73a269d7922129532ec5 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 28 Nov 2017 14:22:34 -0500 Subject: [PATCH 5/5] Update details.html --- example/frontend/templates/article/details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/frontend/templates/article/details.html b/example/frontend/templates/article/details.html index daf822d..dee9767 100644 --- a/example/frontend/templates/article/details.html +++ b/example/frontend/templates/article/details.html @@ -58,7 +58,7 @@

{{ article.title }}

{% if comments_count %} -

{% blocktrans with entry_title=article.title count comments_count=comments_count %}{{ comments_count }} comment to {{ entry_title }}{% plural %}{{ comments_count }} comments to {{ entry_title }}{% endblocktrans %}

+

{% blocktrans with entry_title=article.title count comments_count=comments_count %}{{ comments_count }} comment to {{ entry_title }}{% plural %}{{ comments_count }} comments to {{ entry_title }}{% endblocktrans %}

{% render_comment_list for object %} {% if not article|comments_are_open %}