{% extends "base.html" %} {% load i18n %} {% load translations %} {% load permissions %} {% load crispy_forms_tags %} {% block breadcrumbs %}
  • {{ object }}
  • {% endblock %} {% block content %} {% can_see_repository_status user object as user_can_see_repository_status %} {% can_commit_translation user object as user_can_commit_translation %} {% can_manage_acl user object as user_can_manage_acl %}

    {% trans "Components" %}

    {% for prj in object.subproject_set.select_related %} {% with prj.get_translated_percent as percent and prj.get_fuzzy_percent as fuzzy and prj.get_failing_checks_percent as check_percent %} {% endwith %} {% endfor %}
    {% trans "Component" %} {% trans "Translated" %}
    {{ prj.name }} {% translation_progress prj %} {{ percent }}%
    {% include "legend.html" %}

    {% trans "Project Information" %}

    {% include "project_info.html" %}

    {% trans "Glossaries" %}

    {% if dicts %}
    {% for dict in dicts %} {{ dict.count }}{{ dict.language }} {% endfor %}
    {% else %}

    {% trans "There are currently no glossaries defined for this project." %}

    {% endif %}
    {% include "last-changes.html" %}
    {% include "activity-tab.html" %} {% if user_can_see_repository_status %}

    {% trans "Loading…" %}

    {% endif %} {% if user_can_manage_acl %}

    {% trans "Users" %}

    {% with object.owners.count as owner_count %} {% for user in object.owners.all %} {% endfor %} {% endwith %} {% if object.enable_acl %} {% for user in object.all_users %} {% endfor %} {% endif %}
    {% trans "Username" %} {% trans "Full name" %} {% trans "E-mail" %}
    {{ user.username }} {% trans "Owner" %} {{ user.first_name }} {{ user.email }} {% if owner_count > 1 %} {% if object.enable_acl %}
    {% csrf_token %}
    {% endif %}
    {% csrf_token %}
    {% endif %}
    {{ user.username }} {{ user.first_name }} {{ user.email }}
    {% csrf_token %}
    {% csrf_token %}
    {% if object.enable_acl %}
    {% else %} {% endif %} {% csrf_token %}

    {% if object.enable_acl %} {% trans "Add new user" %} {% else %} {% trans "Add new owner" %} {% endif %}

    {{ add_user_form|crispy }}
    {% endif %}
    {% endblock %}