{% extends "notifications/email_base.html" %} {% load djblets_email djblets_utils markdown_email %} {% block content %} {% if reply.body_top %} {% if review.body_top %}

On {{review.time_emailed|date:"F jS, Y, P T"}}, {{review.user|user_displayname}} wrote:

{{review.body_top|markdown_email_html:review.body_top_rich_text}}
{% endif %} {% for reply_review in review.public_replies %} {% if reply_review.body_top %} {% if reply_review != reply %}

On {{reply_review.timestamp|date:"F jS, Y, P T"}}, {{reply_review.user|user_displayname}} wrote:

{{reply_review.body_top|markdown_email_html:reply_review.body_top_rich_text}}
{% endif %} {% endif %} {% endfor %} {% if review.body_top %}
{% endif %}
{{reply.body_top|markdown_email_html:reply.body_top_rich_text}}

{% endif %} {% for comment in reply.file_attachment_comments.all %}

On {{review.time_emailed|date:"F jS, Y, P T"}}, {{review.user|user_displayname}} wrote:

{# Prevents a display glitch on the table in Outlook 2007 #}
{{comment.get_link_text}} {% if comment.file_attachment.caption %}

{{comment.file_attachment.caption}}

{% endif %} {% with comment.thumbnail as thumbnail %} {% if thumbnail %}
{{thumbnail|default:''|safe}}
{% endif %} {% endwith %}
{{comment.reply_to.text}}
{% for reply_comment in comment.reply_to.public_replies %} {% if reply_comment.text %} {% if reply_comment != comment %}

On {{reply_comment.timestamp|date:"F jS, Y, P T"}}, {{reply_comment.review.get.user|user_displayname}} wrote:

{{reply_comment.text|markdown_email_html:reply_comment.rich_text}}
{% endif %} {% endif %} {% endfor %}
{{comment.text|markdown_email_html:comment.rich_text}}

{% endfor %} {% for comment in reply.general_comments.all %}

On {{review.time_emailed|date:"F jS, Y, P T"}}, {{review.user|user_displayname}} wrote:

{# Prevents a display glitch on the table in Outlook 2007 #}
{{comment.reply_to.text}}
{% for reply_comment in comment.reply_to.public_replies %} {% if reply_comment.text %} {% if reply_comment != comment %}

On {{reply_comment.timestamp|date:"F jS, Y, P T"}}, {{reply_comment.review.get.user|user_displayname}} wrote:

{{reply_comment.text|markdown_email_html:reply_comment.rich_text}}
{% endif %} {% endif %} {% endfor %}
{{comment.text|markdown_email_html:comment.rich_text}}

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

On {{review.time_emailed|date:"F jS, Y, P T"}}, {{review.user|user_displayname}} wrote:

{# Prevents a display glitch on the table in Outlook 2007 #}
{{comment.screenshot.image.name|basename}}
{{comment.screenshot.caption}}
{{comment.reply_to.text}}
{% for reply_comment in comment.reply_to.public_replies %} {% if reply_comment.text %} {% if reply_comment != comment %}

On {{reply_comment.timestamp|date:"F jS, Y, P T"}}, {{reply_comment.review.get.user|user_displayname}} wrote:

{{reply_comment.text|markdown_email_html:reply_comment.rich_text}}
{% endif %} {% endif %} {% endfor %}
{{comment.text|markdown_email_html:comment.rich_text}}

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

On {{review.time_emailed|date:"F jS, Y, P T"}}, {{review.user|user_displayname}} wrote:

{{entry.html|safe}}
{{entry.comment.reply_to.text|markdown_email_html:entry.comment.reply_to.rich_text}}
{% for reply_comment in entry.comment.reply_to.public_replies %} {% if reply_comment.text %} {% if reply_comment != entry.comment %}

On {{reply_comment.timestamp|date:"F jS, Y, P T"}}, {{reply_comment.review.get.user|user_displayname}} wrote:

{{reply_comment.text|markdown_email_html:reply_comment.rich_text}}
{% endif %} {% endif %} {% endfor %}
{{entry.comment.text|markdown_email_html:entry.comment.rich_text}}

{% endfor %} {% if reply.body_bottom %} {% if review.body_bottom %}

On {{review.time_emailed|date:"F jS, Y, P T"}}, {{review.user|user_displayname}} wrote:

{{review.body_bottom|markdown_email_html:review.body_bottom_rich_text}}
{% endif %} {% for reply_review in review.public_replies %} {% if reply_review.body_bottom %} {% if reply_review != reply %}

On {{reply_review.timestamp|date:"F jS, Y, P T"}}, {{reply_review.user|user_displayname}} wrote:

{{reply_review.body_bottom|markdown_email_html:reply_review.body_bottom_rich_text}}
{% endif %} {% endif %} {% endfor %} {% if review.body_bottom %}
{% endif %}
{{reply.body_bottom|markdown_email_html:reply.body_bottom_rich_text}}

{% endif %}

- {% if reply.user.first_name != "" %}{{reply.user.first_name}}{% else %}{{reply.user.username}}{% endif %}

{% endblock %} {% block footer %}

On {{review_request.time_emailed|date:"F jS, Y, P T"}}, {{review_request.submitter|user_displayname}} wrote:

{% with 1 as embedded %} {% include "notifications/review_request_email.html" %} {% endwith %} {% endblock %}