{% load idm_tags i18n %}
{% comment %}
Context variables:
    system - whick workflow was changed,
    diff - what different in workflow,
    user - who edit workflow,
    workflow - Workflow instance,
{% endcomment %}

{% line %}
    {% if user.is_female %}
        {% blocktrans with username=user|who system_name=system.get_name %}
            {{ username }} отредактировала workflow системы {{ system_name }}:
        {% endblocktrans %}
    {% else %}
        {% blocktrans with user=user|who system_name=system.get_name %}
            {{ user }} отредактировал workflow системы {{ system_name }}:
        {% endblocktrans %}
    {% endif %}
{% endline %}

{% trans "Изменения пользовательского workflow" %}:
{{ diff|safe }}
{% trans "Изменения группового workflow" %}:
{{ group_diff|safe }}

{% if workflow.comment %}{% trans "Комментарий" %}:
    {{ workflow.comment }}{% endif %}

{% trans "Пожалуйста, подтвердите изменения" %}:
{% absolute_uri system.get_absolute_url %}

