{% extends "reviews/reviewable_base.html" %} {% load i18n djblets_deco djblets_extensions djblets_js djblets_utils %} {% load rb_extensions reviewtags staticfiles tz %} {% block title %}{{review_request_details.summary}} | {% trans "Review Request" %}{% endblock %} {% block css %} {{block.super}} {% if siteconfig.settings.diffviewer_show_trailing_whitespace|default_if_none:1 %} {% endif %} {% endblock %} {% block content %}
{% include "reviews/trophy_box.html" %} {% include "reviews/review_header.html" %} {% box "review-request" %}
{% star review_request %}
{% include "reviews/review_request_box.html" %}
{% endbox %}
{% for entry in entries %} {% if entry.review %}
{% if forloop.last %} {% endif %} {% box entry.class %}
{% template_hook_point "review-summary-header-pre" %} {% if entry.review.ship_it %}
{% trans "Ship it!" %}
{% 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|escape}}
{% 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|escape}}
{% 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 %}
{% spaceless %} {{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 %} {% endspaceless %} {% with comment.thumbnail as thumbnail %} {% if thumbnail %}
{{thumbnail|default:''|safe}}
{% endif %} {% endwith %}
{% comment_detail_display_hook comment "review" %}
{{comment.text|escape}}
{% 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|escape}}
{% 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|escape}}
{% reply_section entry "" "body_bottom" "rcbb" %} {% endif %}
{% endbox %}
{% endif %} {% if entry.changedesc %}
{% definevar "boxclass" %}changedesc {{entry.class}}{% enddefinevar %} {% box boxclass %}
{% trans "Review request changed" %}
{% localtime on %}{% blocktrans with entry.changedesc.timestamp as timestamp and entry.changedesc.timestamp|date:"c" as timestamp_raw %}Updated ({{timestamp}}){% endblocktrans %}{% endlocaltime %}
    {% for fieldinfo in entry.changeinfo %}
  • {% if fieldinfo.type == "changed" %} {% if fieldinfo.multiline %}

    {{fieldinfo.info.old.0}}

    {{fieldinfo.info.new.0}}
    {% else %} {% blocktrans with fieldinfo.info.old.0 as old_value and fieldinfo.info.new.0 as new_value %}changed from {{old_value}} to {{new_value}}{% endblocktrans %} {% endif %} {% endif %} {% if fieldinfo.type == "add_remove" %}
      {% if fieldinfo.info.removed %} {% definevar "removed_values" %} {% for item in fieldinfo.info.removed %} {% if item.1 %} {{item.0}} {% else %} {{item.0}} {% endif %} {% if not forloop.last %}, {% endif %} {% endfor %} {% enddefinevar %}
    • {% blocktrans %}removed {{removed_values}}{% endblocktrans %}
    • {% endif %} {% if fieldinfo.info.added %} {% definevar "added_values" %} {% for item in fieldinfo.info.added %} {% if item.1 %} {{item.0}} {% if fieldinfo.diff_revision %} {% with fieldinfo.diff_revision|add:"-1" as past_revision and fieldinfo.diff_revision as current_revision %} {% if past_revision != 0 %} - {% trans "Show changes" %} {% endif %} {% endwith %} {% endif %} {% else %} {{item.0}} {% endif %} {% if not forloop.last %}, {% endif %} {% endfor %} {% enddefinevar %}
    • {% blocktrans %}added {{added_values}}{% endblocktrans %}
    • {% endif %}
    {% endif %} {% if fieldinfo.type == "screenshot_captions" or fieldinfo.type == "file_captions" %}
      {% for info in fieldinfo.info.values %}
    • {% blocktrans with info.old.0 as old_value and info.new.0 as new_value %}changed from {{old_value}} to {{new_value}}{% endblocktrans %}
    • {% endfor %}
    {% endif %}
  • {% endfor %}
{% if entry.changedesc.text %}
{{entry.changedesc.text|escape}}
{% endif %}
{% endbox %} {% endif %} {% endfor %} {% endblock %} {% block scripts-post %} {{block.super}} {% endblock %}