{% extends "base.html" %} {% load crispy_forms_tags i18n metrics permissions translations %} {% block breadcrumbs %} {% path_object_breadcrumbs path_object %} {% endblock breadcrumbs %} {% block content %} {% announcements language=language project=project %} {% perm 'project.edit' object.project as user_can_edit_project %}
{% include "snippets/translation.html" %}
{% include "snippets/list-objects.html" with objects=translation_objects list_categories=categories name_source="component_name" label=_("Component") %} {% include "paginator.html" with page_obj=translations %}
{% show_info project=project language=language stats=language_stats metrics=object|metrics show_full_language=False %}
{% include "last-changes-content.html" %} {% translate "Browse all changes for this language" %}
{% if last_announcements %}
{% include "last-changes-content.html" with last_changes=last_announcements %} {% translate "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 %} {% translate "Search and replace" %}

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

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

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

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

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

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

{% endif %}
{% endblock content %}