{% load djblets_utils i18n rb_extensions reviewtags %} {% if review.body_top or always_show_body_top %}
  • {{review.body_top|render_markdown:review.body_top_rich_text}}
    {% reply_section review '' 'body_top' 'rcbt' review.body_top %}
  • {% endif %} {# General comments #} {% for comment in general_comments %} {% include "reviews/entries/_review_comment.html" with comment_type="general_comments" %} {% endfor %} {# Screenshot comments #} {% for comment in screenshot_comments %} {% definevar "comment_context" %}
    {{comment.screenshot.caption|default_if_none:comment.screenshot.filename}}
    {{comment.image|safe}}
    {% enddefinevar %} {% include "reviews/entries/_review_comment.html" with comment_type="screenshot_comments" %} {% endfor %} {# File attachment comments #} {% for comment in file_attachment_comments %} {% definevar "comment_context" %}
    {{comment.get_link_text}} {% if comment.file_attachment.attachment_revision %} {% if comment.diff_against_file_attachment %} {% blocktrans with revision1=comment.diff_against_file_attachment.attachment_revision revision2=comment.file_attachment.attachment_revision %} (Revisions {{revision1}} - {{revision2}}) {% endblocktrans %} {% else %} {% blocktrans with revision=comment.file_attachment.attachment_revision %} (Revision {{revision}}) {% endblocktrans %} {% endif %} {% endif %} {% with comment.thumbnail as thumbnail %} {% if thumbnail %}
    {{thumbnail|default:''|safe}}
    {% endif %} {% endwith %}
    {% enddefinevar %} {% include "reviews/entries/_review_comment.html" with comment_type="file_attachment_comments" %} {% endfor %} {# Diff comments #} {% for comment in diff_comments %} {% definevar "comment_context" %}
    {# header #} {% for i in comment.num_lines|default_if_none:1|range %} {% endfor %}
    {{comment.filediff.dest_file_display}} {% if comment.interfilediff %} {% blocktrans with revision1=comment.filediff.diffset.revision revision2=comment.interfilediff.diffset.revision %} (Diff revisions {{revision1}} - {{revision2}}) {% endblocktrans %} {% else %} {% blocktrans with revision=comment.filediff.diffset.revision %} (Diff revision {{revision}}) {% endblocktrans %} {% endif %}
     
     
    {% enddefinevar %} {% include "reviews/entries/_review_comment.html" with comment_type="diff_comments" %} {% endfor %}
    {{review.body_bottom|render_markdown:review.body_bottom_rich_text}}
    {% reply_section review '' 'body_bottom' 'rcbb' review.body_bottom %}