{% extends "base.html" %} {% load i18n %} {% load translations %} {% load crispy_forms_tags %} {% load metrics %} {% load permissions %} {% block breadcrumbs %} {% path_object_breadcrumbs path_object %} {% endblock %} {% block content %} {% announcements language=language project=project %} {% perm 'project.edit' object.project as user_can_edit_project %}
{% include "snippets/list-objects.html" with objects=translations list_categories=categories name_source="component_name" label=_("Component") %}
{% include "snippets/info.html" with language=None project=project stats=language_stats metrics=object|metrics %}
{% include "last-changes-content.html" %} {% trans "Browse all changes for this language" %}
{% if last_announcements %}
{% include "last-changes-content.html" with last_changes=last_announcements %} {% trans "Browse all project changes" %}
{% endif %} {% if delete_form %}
{% include "trans/delete-form.html" %}
{% endif %} {% if replace_form %}

{% documentation_icon 'user/translating' 'search-replace' right=True %} {% trans "Search and replace" %}

{% crispy replace_form %}
{% endif %} {% if bulk_state_form %}

{% documentation_icon 'user/translating' 'bulk-edit' right=True %} {% trans "Bulk edit" %}

{% crispy bulk_state_form %}
{% endif %} {% if announcement_form %}

{% documentation_icon 'admin/announcements' right=True %} {% trans "Post announcement" %}

{% csrf_token %} {{ announcement_form|crispy }}

{% trans "The message is shown for all translations within the project, until its given expiry, or permanently until it is deleted." %}

{% endif %}
{% endblock %}