{% blocktrans with interdiffset.revision as interdiff_revision %}Changes between revision {{revision}} and {{interdiff_revision}}{% endblocktrans %}
{% else %} {% ifequal diffset.revision latest_revision %}{% blocktrans %}Diff revision {{revision}} (Latest){% endblocktrans %}
{% else %} {# This is not the most recent diff. See if we're showing a draft. #} {% if is_draft_diff %}{% trans "Draft diff" %}
{% blocktrans %} This diff is part of your current draft. Other users will not see this diff until you publish your draft. {% endblocktrans %} {% else %} {# This is not a draft. Tell the user this is not the most recent. #}
{% blocktrans %}Diff revision {{revision}}{% endblocktrans %}
{% blocktrans with diffset.revision as revision and review_request.get_absolute_url as review_request_url%} This is not the most recent revision of the diff. The latest diff is revision {{latest_revision}}. See what's changed. {% endblocktrans %} {% endif %}
{% endifequal %} {% endif %} {# Notify the user if they have unpublished comments in other diffs. #} {% if review|has_comments_in_diffsets_excluding:diffset_pair %} {% box "important" %}{% trans "You have unpublished comments on other revisions" %}
{% trans "Your review consists of comments on the following revisions:" %}
-
{% for diffset_info in review|diffsets_with_comments:diffset_pair %}
{% if diffset_info.is_current %}
- Revision {{diffset_info.diffset.revision}} {% else %}
- Revision {{diffset_info.diffset.revision}} {% endif %} {% endfor %} {% for pair in review|interdiffs_with_comments:diffset_pair %} {% if pair.is_current %}
- Interdiff revision {{pair.diffset.revision}} - {{pair.interdiff.revision}} {% else %}
- Interdiff revision {{pair.diffset.revision}} - {{pair.interdiff.revision}} {% endif %} {% endfor %}
{% for item in review_request.diffset_history|revision_link_list:diffset_pair %}
{% if item.is_current %}
{{item.revision}}
{% else %}
{{item.revision}}
{% endif %}
{% endfor %}
{% if draft and draft.diffset %}
{# There's a draft diff, so display it in the list. #}
{% if is_draft_diff %}
{{draft.diffset.revision}}
{% else %}
{{draft.diffset.revision}}
{% endif %}
{% endif %}
|
|
{% for item in review_request.diffset_history|interdiff_link_list:diffset_pair %}
{% if item.is_current %}
{{item.revision}}
{% else %}
{{item.revision}}
{% endif %}
{% endfor %}
{% if draft and draft.diffset %}
{# There's a draft diff, so display it in the list. #}
{% if is_draft_diff or is_draft_interdiff %}
{{draft.diffset.revision}}
{% else %}
{{draft.diffset.revision}}
{% endif %}
{% endif %}
|