{% extends "base.html" %} {% import "_review_marks.html" as rm %} {% block main %}
Contracts / {{ head.code }}

{{ party }}'s review of version {{ review_version }}

Sent {{ round.sent }} by {{ round.by }}.{% if replied %} Sent back {{ round.replied }} by {{ round.reply_name }}: {{ round.changes }} {% if round.changes == 1 %}change{% else %}changes{% endif %}, {{ round.highlights }} {% if round.highlights == 1 %}highlight{% else %}highlights{% endif %}.{% endif %}

{% if not replied %}

Nothing back yet

{{ party }} has not sent this version back yet.

{% else %} {% if reply_message %}

Their message

{{ reply_message }}

{% endif %}

The changes

{% if changes %}

Tick the changes to take. The contract page then opens with the version form filled with version {{ review_version }} and those changes, to finish and add as the next version.

    {% for c in changes %}
  1. {% endfor %}
{% else %}

They changed nothing{% if highlights %}; they highlighted what is listed below{% endif %}.

{% endif %}
{% if highlights %}

Highlighted

{% endif %}

As a diff

our version {{ review_version }} against their text
{% if git %}
{% for l in git %}{% if l.op == "hunk" %}
@@ line {{ l.old or l.new }} @@
{% else %}
{{ l.old or "" }}{{ l.new or "" }}{% for s in l.segs %}{% if s.hl %}{{ s.text }}{% else %}{{ s.text }}{% endif %}{% endfor %}
{% endif %}{% else %}

No line changed.

{% endfor %}
{% else %}

The texts are too long to compare here.

{% endif %}

As they marked it

{{ rm.marked(shown) }}

Their text, SHA-256 {{ reply_sha }}

{% endif %} {% endblock %}