{% extends "projects/project_menu.html" %} {% load i18n %} {% load cache %} {% load pagination_tags %} {% load txcommontags %} {% load permissions %} {% load txpermissions %} {% load avatars %} {% load addons %} {% load statistics_resources %} {% block extra_head %} {% endblock %} {% block title %}{{ block.super }} | {{ project.name }}{% endblock %} {% block breadcrumb %}{{ block.super }} » {{ project.name }} » {% trans "Teams" %} » {{ team.language.name }} {% endblock %} {% block content_main %} {% get_permission "project_perm.submit_translations" for request.user and team as "can_submit_translations" %} {% get_permission "project_perm.coordinate_team" for request.user and project,team.language as "is_coordinator" %}

{% blocktrans with team.language.name as language_name and team.language.code as language_code %}Translation Teams - {{ language_name }} {% endblocktrans %}

{% if perms.projects.change_team or is_coordinator %} {% endif %}
{% if team.mainlist %} {% endif %} {% with team.coordinators.all as coordinators %} {% if coordinators %} {% endif %} {% endwith %} {% if request.user.is_authenticated and not perms.projects.submit_translations and not can_submit_translations and not user_access_request %} {% endif %}
{{ team.mainlist|mungify:team.mainlist }}
{% blocktrans count coordinators|length as counter %}Coordinator:{% plural %}Coordinators:{% endblocktrans %} {% for c in coordinators|slice:"0:6" %} {% if c.first_name and c.last_name %} {{ c.first_name }} {{ c.last_name }} ({{ c.username }}) {% else %} {{ c.username }} {% endif %}{% if not forloop.last %},{% endif %} {% endfor %}
{% trans "Become a translator:" %}
{% if team_access_requests %}

{% trans "People waiting for team membership approving:" %}

{% endif %}

{% blocktrans count resources|length as counter %}Team Translating Resource{% plural %}Team Translating Resources:{% endblocktrans %}

{% if statslist %} {% for stat in statslist %} {% cache 604800 team_details team.id stat.object.id LANGUAGE_CODE %} {% endcache %} {% endfor %}
{% trans "Resource" %} {% trans "Completion" %} {% trans "Last Updated" %}
{{ stat.object.name }} {% with 200 as barwidth %}
{% trans "Untranslated: " %}{{ stat.num_untranslated }}">
{{ stat.trans_percent }}%
{% stats_bar_simple stat barwidth %}
{% endwith %}
{% with stat.last_update as last_update %} {% with stat.last_committer as last_committer %} {% if last_update %} {{ last_update|date:"M d, h:ia" }} {% if last_committer %} by {{ last_committer }} {% endif %} {% else %} {% trans "no activity yet" %} {% endif %} {% endwith %} {% endwith %}
{% else %}

{% trans "No resources are registered for this project yet." %}

{% endif %}
{% with team.members.all as members %} {% if members %}

{% trans "Team Members:" %}

{% endif %} {% endwith %}
{% hook "team_detail.html" extra_content %}

{% trans 'History' %}

{% load tx_action_log %} {% get_log 5 as action_log for_object team %} {% if not action_log %}

{% trans 'None available' %}

{% else %} {% endif %} {% endblock %} {% block content_footer %} {% endblock %}