diff --git a/app/templates/book/components/sub_collection_preview_content.html b/app/templates/book/components/sub_collection_preview_content.html index 909bddc..f07b148 100644 --- a/app/templates/book/components/sub_collection_preview_content.html +++ b/app/templates/book/components/sub_collection_preview_content.html @@ -20,7 +20,10 @@
-

{{ section.label }}

+

+ {{ section.label }} +

+ {% if not section.active_interpretations %}

This section is empty

{% else %} diff --git a/app/templates/home/index.html b/app/templates/home/index.html index 2f2831f..43bc69c 100644 --- a/app/templates/home/index.html +++ b/app/templates/home/index.html @@ -41,75 +41,73 @@ Interpretations not found!

{% endif %} - {% for interpretation in interpretations %} - -
-
-
-
- -
+ {% for interpretation in interpretations %} + +
+
+
+
+ +
+ + {{ interpretation.vote_count }} + - - {{ interpretation.vote_count }} - - - -
- -
-
- -
-
- {% set local_breadcrumbs = interpretation.section.breadcrumbs_path %} - {% include 'book/local_breadcrumbs_navigation.html'%} -

{{ interpretation.section.label }}

- -
-

{{ display_inline_elements(interpretation.text)|safe }}

-
-
-
-
- - {{interpretation.user.username}} on {{interpretation.created_at.strftime('%B %d, %Y')}} -
-
- - - -
-
-
+
+ +
+
+ +
+
+ {% set local_breadcrumbs = interpretation.section.breadcrumbs_path %} + {% include 'book/local_breadcrumbs_navigation.html'%} + +

{{ interpretation.section.label }}

+
+
+

{{ display_inline_elements(interpretation.text)|safe }}

-
- - {% endfor %} +
+
+
+ + {{interpretation.user.username}} on {{interpretation.created_at.strftime('%B %d, %Y')}} +
+
+ + + +
+
+ +
+
+ {% endfor %} {% if current_user.is_authenticated and page.pages > 1 %}