{% extends 'base.html' %} {% if current_user.is_authenticated %} {% include 'book/delete_interpretation_modal.html' %} {% include 'book/delete_comment_modal.html' %} {% include 'book/edit_comment_modal.html' %} {% include 'book/edit_interpretation_modal.html' %} {% set show_edit_interpretation = True %} {% set show_delete_interpretation = True %} {% block right_sidebar %} {% include 'book/right_sidebar.html' %} {% endblock %} {% endif %} {% block content %} {% include 'book/breadcrumbs_navigation.html'%}

{{ section.label }}

{{display_tags(interpretation.text)|safe}}
{% if not current_user.is_authenticated %}

Connect you wallet to start contributing!

{% endif %} {% if current_user.is_authenticated %}
{{ form_hidden_tag() }}
{% endif %}
Comments:
{% for comment in interpretation.comments if not comment.is_deleted and not comment.parent_id%}
{% if comment.user_id != current_user.id %}
{% endif %} {{ comment.vote_count }} {% if comment.user_id != current_user.id %}
{% endif %} {% if interpretation.book.owner == current_user %}
{% endif %}

{{ display_tags(comment.text)|safe }}

Commented by {{comment.user.username}} on {{comment.created_at.strftime('%B %d, %Y')}} {% if comment.edited %} edited {% endif %}
{% if comment.user_id == current_user.id %}
{% endif %}
{% for child in comment.children %}
{{display_tags(child.text)|safe}}
by {{child.user.username}} {{child.created_at.strftime('%B %d, %Y')}}
{% if child.user_id == current_user.id %}
{% endif %}
{% endfor %}
{% endfor %}
{% endblock %}