{% autoescape off %}{% load djblets_email djblets_utils markdown_email rb_extensions reviewtags %}
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
{{domain_method}}://{{domain}}{{review.get_absolute_url}}
-----------------------------------------------------------
{% if review.ship_it %}
{%  if has_issues %}
Fix it, then Ship it!
{%  else %}
Ship it!
{%  endif %}
{% endif %}

{% if review.body_top %}
{{review.body_top|markdown_email_text:review.body_top_rich_text}}
{% endif %}{% for comment in review.file_attachment_comments.all %}

File Attachment: {% if comment.file_attachment.caption %}{{comment.file_attachment.caption}} - {% endif %}{{comment.get_link_text}}
<{{domain_method}}://{{domain}}/{{comment.get_review_url}}>

{% filter indent %}{% condense 2 %}
{%  comment_detail_display_hook comment "text-email" %}

{{comment.text|markdown_email_text:comment.rich_text}}
{% endcondense %}{% endfilter %}

{% endfor %}{% for comment in review.screenshot_comments.all %}

Screenshot: {{ comment.screenshot.caption }}
<{{domain_method}}://{{domain}}/{{comment.get_review_url}}>

{% filter indent %}{% condense 2 %}
{%  comment_detail_display_hook comment "text-email" %}

{{comment.text|markdown_email_text:comment.rich_text}}
{% endcondense %}{% endfilter %}

{% endfor %}{% for entry in comment_entries %}

{{ entry.comment.filediff.source_file_display }} {% patched_file_line_numbers %}
<{{domain_method}}://{{domain}}{{entry.comment.get_review_url}}>

{% filter indent %}{% condense 2 %}
{%  comment_detail_display_hook entry.comment "text-email" %}

{{entry.comment.text|markdown_email_text:entry.comment.rich_text}}
{% endcondense %}{% endfilter %}

{% endfor %}{% if review.body_bottom %}
{{review.body_bottom|markdown_email_text:review.body_bottom_rich_text}}
{% endif %}
- {{review.user|user_displayname}}


On {{review_request.time_emailed}}, {{review_request.submitter|user_displayname}} wrote:
{% quoted_email "notifications/review_request_email.txt" %}
{% endautoescape %}
