{% extends "mail/base.html" %}

{% load i18n %}

{% block content %}
{% if change.action == 55 %}
  <p>
    {{ change.get_details_display }}
  </p>
{% else %}
  <p>
    {% blocktrans %}Contributor agreement for component {{ component }} was changed.{% endblocktrans %}
  </p>
  {% if old %}
    <p>{% trans "Old agreement:" %}</p>
    <p>{{ old }}</p>
  {% else %}
    <p>{% trans "There was no contributor agreement before." %}</p>
  {% endif %}
  {% if target %}
    <p>{% trans "New agreement:" %}</p>
    <p>{{ target }}</p>
  {% else %}
    <p>{% trans "Contributor agreement was removed." %}</p>
  {% endif %}
{% endif %}

{% endblock %}
