{% extends 'base.html' %} {% 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 %} {% block content %} {% include 'book/breadcrumbs_navigation.html'%}

{{ interpretation.label }}

{{interpretation.text|safe}}
{{ form_hidden_tag() }}
Comments:
{% for comment in interpretation.comments if not comment.is_deleted %}
{% 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 %}

{{ comment.text }}

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 %}
- {{child.text}}
by {{child.user.username}} {{child.created_at.strftime('%B %d, %Y')}}
{% if child.user_id == current_user.id %}
{% endif %}
{% endfor %}
{% endfor %}
{% endblock %}