{% endblock %}
{% block content %}
{% whiteboard_messages project=object %}
{% include "watch-dropdown.html" with project=object %}
{% perm 'meta:vcs.status' object as user_can_see_repository_status %}
{% perm 'vcs.commit' object as user_can_commit_translation %}
{% 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 %}
{% perm 'component.edit' object as user_can_edit_component %}
{% include "snippets/project-nav.html" %}
{% include "snippets/list-objects.html" with objects=components name_source="name" label=_("Component") %}
{% if user_can_edit_project %}
{% trans "Add new translation component" %}
{% endif %}
{% with components as page_obj %}
{% include "paginator.html" %}
{% endwith %}
{% include "project_info.html" %}
{% include "snippets/license_info.html" %}
{% include "project_stats.html" with stats=object.stats %}
{% include "snippets/list-objects.html" with objects=language_stats name_source="language" label=_("Language") project=object global_base=object.stats %}
{% endif %}
{% if delete_form %}
{% include "trans/delete-form.html" %}
{% endif %}
{% if rename_form %}
{% endif %}
{% if user_can_see_repository_status %}
{% trans "Loading…" %}
{% endif %}
{% if user.is_authenticated %}
{% if not user_can_view_reports %}
{% trans "You don't have permission to view reports for all users, only your contributions will be listed." as msg %}
{% show_message "warning" msg %}
{% endif %}