{% load djblets_deco djblets_extensions djblets_utils gravatars i18n %} {% load rb_extensions reviewtags tz %}
{% if forloop.last %} {% endif %}
{% if siteconfig_settings.integration_gravatars %} {% gravatar entry.review.user 48 %} {% endif %}
{% if entry.review.ship_it %} {% endif %} {% if entry.has_issues %} {% endif %}
{% box entry.class %}
{% template_hook_point "review-summary-header-pre" %}
{% localtime on %}{% blocktrans with entry.review.timestamp as timestamp and entry.review.timestamp|date:"c" as timestamp_raw %}{% endblocktrans %}{% endlocaltime %}
{% template_hook_point "review-summary-header-post" %}
{{entry.review.body_top|render_markdown:entry.review.body_top_rich_text}}
{% reply_section entry "" "body_top" "rcbt" entry.review.body_top %}
{% if entry.comments.diff_comments or entry.comments.screenshot_comments or entry.comments.file_attachment_comments %}
{% for comment in entry.comments.screenshot_comments %}
{% comment_detail_display_hook comment "review" %} {% if comment.issue_opened %}
{% comment_issue review_request_details comment "screenshot_comments" %}
{% endif %}
{{comment.text|render_markdown:comment.rich_text}}
{% reply_section entry comment "screenshot_comments" "rc" comment.text %}
{% endfor %} {% for comment in entry.comments.file_attachment_comments %}
{{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 %}
{% comment_detail_display_hook comment "review" %} {% if comment.issue_opened %}
{% comment_issue review_request_details comment "file_attachment_comments" %}
{% endif %}
{{comment.text|render_markdown:comment.rich_text}}
{% reply_section entry comment "file_attachment_comments" "rc" comment.text %}
{% endfor %} {% for comment in entry.comments.diff_comments %}
{# header entry #} {% for i in comment.num_lines|default_if_none:1|range %} {% endfor %}
{{comment.filediff.dest_file_display}} {% if comment.interfilediff %} (Diff revisions {{comment.filediff.diffset.revision}} - {{comment.interfilediff.diffset.revision}}) {% else %} (Diff revision {{comment.filediff.diffset.revision}}) {% endif %}
 
 
{% comment_detail_display_hook comment "review" %} {% if comment.issue_opened %}
{% comment_issue review_request_details comment "diff_comments" %}
{% endif %}
{{comment.text|render_markdown:comment.rich_text}}
{% reply_section entry comment "diff_comments" "rc" comment.text %}
{% endfor %}
{% endif %} {% if entry.review.body_bottom %}
{{entry.review.body_bottom|render_markdown:entry.review.body_bottom_rich_text}}
{% reply_section entry "" "body_bottom" "rcbb" entry.review.body_bottom %}
{% endif %}
{% endbox %}