{% load i18n %} {% load static %} {% load humanize %} {% load compress %} {% load site_url %} {{ subject }} {% compress css inline %} {% endcompress %} {% filter add_site_url %}
{% if change %}

{{ change.get_action_display }}

{% else %}

{{ subject }}

{% endif %} {% block content %} {% endblock %}
{% if translation %}

{% trans "Translation Info" %}

{% include "mail/snippets/stats.html" with stats=translation.stats url=translation.get_translate_url %}
{% elif component %}

{% trans "Component Information" %}

{% include "mail/snippets/stats.html" with stats=component.stats %}
{% trans "Languages" %} {{ component.stats.languages|intcomma }}
{% elif project %}

{% trans "Project Information" %}

{% include "mail/snippets/stats.html" with stats=project.stats %}
{% trans "Components" %} {{ project.component_set.count|intcomma }}
{% trans "Languages" %} {{ project.stats.languages|intcomma }}
{% endif %} {% comment %}This avoids Gmail hiding the footer, as it finds unique content here{% endcomment %} {% now "DATETIME_FORMAT" as timestamp %}

{% blocktrans %}Generated on {{ timestamp }}.{% endblocktrans %}

{% endfilter %}