{% load djblets_deco djblets_extensions djblets_utils i18n rb_extensions %} {% load reviewtags tz %}
{% if forloop.last %} {% endif %} {% box entry.class %}
{% template_hook_point "review-summary-header-pre" %} {% if entry.review.ship_it %} {% if entry.issue_open_count > 0 %}
{% trans "Fix it, then Ship it!" %}
{% else %}
{% trans "Ship it!" %}
{% endif %} {% endif %}
{% localtime on %}{% blocktrans with entry.review.timestamp as timestamp and entry.review.timestamp|date:"c" as timestamp_raw %}Posted ({{timestamp}}){% 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" %} {% 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" %}
{{comment.text|render_markdown:comment.rich_text}}
{% if comment.issue_opened %}
{% comment_issue review_request_details comment "screenshot_comments" %}
{% endif %} {% reply_section entry comment "screenshot_comments" "rc" %}
{% endfor %} {% for comment in entry.comments.file_attachment_comments %}
{{comment.get_link_text}} {% if draft and comment.file_attachment.draft_caption %}

{{comment.file_attachment.draft_caption}}

{% elif comment.file_attachment.caption %}

{{comment.file_attachment.caption}}

{% endif %}
{% with comment.thumbnail as thumbnail %} {% if thumbnail %}
{{thumbnail|default:''|safe}}
{% endif %} {% endwith %}
{% comment_detail_display_hook comment "review" %}
{{comment.text|render_markdown:comment.rich_text}}
{% if comment.issue_opened %}
{% comment_issue review_request_details comment "file_attachment_comments" %}
{% endif %} {% reply_section entry comment "file_attachment_comments" "rc" %}
{% 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" %}
{{comment.text|render_markdown:comment.rich_text}}
{% if comment.issue_opened %}
{% comment_issue review_request_details comment "diff_comments" %}
{% endif %} {% reply_section entry comment "diff_comments" "rc" %}
{% 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" %} {% endif %}
{% endbox %}