{% extends "base.html" %} {% load i18n %} {% load translations %} {% load permissions %} {% load crispy_forms_tags %} {% load metrics %} {% block breadcrumbs %}
  • {{ object }}
  • {% endblock %} {% 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 name_source="name" label=_("Component") %} {% include "paginator.html" with page_obj=components %} {% if user_can_edit_project %}

    {% trans "Add new translation component" %} {% if offer_hosting %} {% for billing in object.billings %} {% if billing.is_trial and billing.plan.price == 0 %} {% trans "Request approval for Libre hosting" %} {% endif %} {% endfor %} {% endif %}

    {% endif %}
    {% include "snippets/info.html" with 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" %} {% trans "Browse all project changes" %}
    {% if last_announcements %}
    {% include "last-changes-content.html" with last_changes=last_announcements %} {% trans "Browse all project changes" %}
    {% 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 %} {% if delete_form %} {% include "trans/delete-form.html" %} {% endif %} {% if rename_form %}

    {% trans "Rename project" %}

    {% trans "Renaming the project will change all URLs, users will have to update bookmarks or references in cloned repositories!" %}

    {% crispy 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 %}

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

    {% trans "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 %} {% trans "Contributor stats" %}

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

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