{% extends "base.html" %} {% load compress crispy_forms_tags i18n metrics permissions static translations %} {% block breadcrumbs %} {% path_object_breadcrumbs path_object %} {% endblock breadcrumbs %} {% block content %} {% announcements project=object %} {% include "snippets/project/state.html" %} {% include "snippets/watch-dropdown.html" with project=object %} {% perm 'meta:vcs.status' object as user_can_see_repository_status %} {% perm 'project.permissions' object as user_can_manage_acl %} {% perm 'project.edit' object as user_can_edit_project %} {% perm 'reports.view' object as user_can_view_reports %}
{% include "snippets/list-objects.html" with objects=components list_categories=categories name_source="name" label=_("Component") add_link="component" %} {% include "paginator.html" with page_obj=components %}
{% show_info project=object stats=object.stats metrics=object|metrics show_source=True %}
{% include "snippets/list-objects.html" with objects=language_stats name_source="language" label=_("Language") project=object global_base=object.stats %}
{% include "last-changes-content.html" %} {% translate "Browse all project changes" %}
{% if last_announcements %}
{% include "last-changes-content.html" with last_changes=last_announcements %} {% translate "Browse all project changes" %}
{% 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 %} {% if user_can_edit_project %}

{% translate "Add a category" %}

{% crispy add_form %}
{% endif %} {% if rename_form %}
{% if rename_form %}

{% translate "Organize project" %}

{% crispy rename_form %}
{% endif %} {% if delete_form %} {% include "trans/delete-form.html" %} {% endif %}
{% endif %} {% if user_can_see_repository_status %}

{% translate "Loading…" %}

{% endif %} {% if user.is_authenticated %}
{% if not user_can_view_reports %} {% translate "You don't have permission to view reports for all users, only your contributions will be listed." as msg %} {% show_message "warning" msg %} {% endif %}

{% documentation_icon 'devel/reporting' 'credits' right=True %} {% translate "Credits" %}

{% translate "Lists all translators contributing to this project in a given time period. Useful for inclusion in documentation or the app itself, to thank translators and generate feedback to them." %}

{% crispy reports_form %}

{% documentation_icon 'devel/reporting' 'stats' right=True %} {% translate "Contributor stats" %}

{% translate "Reports the number of strings and words translated by each translator." %}

{% crispy reports_form %}
{% endif %}
{% endblock content %}