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

{% load i18n %}{% load translations %}

{% block content %}

{% include "mail/snippets/source-string.html" %}

<h2>{% trans "Translation" %}</h2>

{% format_unit_target unit value=target %}

{% if old %}
<h2>{% trans "Translation change" %}</h2>

{% format_unit_target unit value=target diff=old %}
{% endif %}

<div class="line buttons">
    <a class="button" href="{{ unit.get_absolute_url }}">{% trans "Edit this string" %}</a>
</div>

{% include "mail/snippets/unit-screenshots.html" %}

{% endblock %}
