{% extends "projects/project_detail_childs.html" %} {% load statistics %} {% load markup %} {% load i18n %} {% load truncate %} {% load permissions %} {% load txpermissions %} {% block extra_head %} {% include "translations/stats_table_filter_header.html" %} {% endblock %} {% block body_class %}{{ block.super }} project_detail{% endblock %} {% block title %}{% with component.project as project %}{{ block.super }} | Component '{{ component.name }}'{% endwith %}{% endblock %} {% block breadcrumb %}{% with component.project as project %}{{ block.super }} » Component '{{ component.name }}'{% endwith %}{% endblock %} {% block content_main %} {% get_permission "project_perm.maintain" for request.user and component.project as "is_maintainer" %}
{{ component.description }}
{% endif %} {% with component.long_description_html as long_desc %} {% if long_desc %}{% trans "Repository:" %} |
{{ component.unit.root|truncate_chars_middle:"70" }}
{% if component.unit.web_frontend %}({% trans "web" %}){% endif %}
{# FIXME: tar too restrictive #}
{% ifequal component.unit.type "tar" %}({% trans "web" %}){% endifequal %}
![]() |
---|---|
{% trans "Branch:" %} | {{ component.unit.branch }} |
{% trans "File filter:" %} | {{ component.file_filter }} |
{% trans "i18n method:" %} | {{ component.i18n_type|lower|capfirst }} |
{% blocktrans count releases|length as counter %}Release:{% plural %}Releases:{% endblocktrans %} |
|
{% trans "Allows submissions:" %} | {% if component.allows_submission %} {% trans "Note" %} {% else %} {% endif %} |
{% trans "Source file:" %} | {% render_source_files component.trans.get_source_stats %} |
---|---|
{% trans "Statistics last updated:" %} | {% if component.unit.last_checkout %}{{component.unit.last_checkout|timesince}} {% trans "ago" %}. {% else %}{% trans "Component not yet pulled from source repository." %}{% endif %} {% if perms.projects.refresh_stats or is_maintainer %} {% endif %} {% if perms.projects.clear_cache or is_maintainer %} {# FIXME: tar too restrictive #} {% ifequal component.unit.type "tar" %}{% trans "warning" %}{% endifequal %} {% endif %} |
{% trans "Teams:" %} | {% trans "See the translation teams." %} |
{% blocktrans %}Translators can request a file review from another person, who can take a look at his work and provide any feedback needed, or simply submit the file to the upstream project.{% endblocktrans %}
{% url review_list component.project.slug component.slug as review_url %} View all reviews{% trans 'None available' %}
{% else %}