{% extends "projects/project_detail_childs.html" %} {% load cache %} {% load markup %} {% load i18n %} {% load truncate %} {% load statistics_resources %} {% load permissions %} {% load txpermissions %} {% block extra_head %} {% endblock %} {% block body_class %}{{ block.super }} release_detail{% endblock %} {% block title %}{{ block.super }} | Release '{{ release.name }}'{% endblock %} {% block breadcrumb %}{{ block.super }} » Release '{{ release.name }}'{% endblock %} {% block content_sec %} {% endblock %} {% block content_main %}

{{ release.project.name }}

Release '{{ release }}'

{% if release.description %}

{{ release.description }}

{% endif %} {% with release.long_description_html as long_desc %} {% if long_desc %}
{{ long_desc|truncatewords:"100"|safe }}
{% endif %} {% endwith %} {% get_permission "project_perm.maintain" for request.user and release.project as "is_maintainer" %} {% if perms.projects.add_release or is_maintainer %} {% endif %}
{% if release.homepage or release.release_date %}

{% blocktrans %}Details{% endblocktrans %}

{% endif %}
{% trans "Homepage:" %} {{ release.homepage }}
{% trans "Release date:" %} {{ release.release_date|date:"D d M Y" }}
{% trans "String freeze:" %} {{ release.stringfreeze_date|date:"D d M Y" }}
{% trans "Devel freeze:" %} {{ release.develfreeze_date|date:"D d M Y" }}
{% trans "Resources:" %} {% with release.resources.all|dictsort:"project.slug"|dictsort:"slug" as resource_list %} {% with resource_list|length as resources_number %} {% blocktrans %}This release has {{ resources_number }} resources.{% endblocktrans %} {% endwith %} {% endwith %}

{% trans "Translation Statistics" %}

{% for stat in statslist.language_stats %} {% cache 604799 release_details release.id stat.language.id LANGUAGE_CODE%} {% endcache %} {% endfor %}
{% trans "Language" %} {% trans "Completion" %} {% trans "Last Translation" %}
{{ stat.language.name }} ({{ stat.language.code }}) {% 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 translations yet" %} {% endif %} {% endwith %} {% endwith %}
{% endblock %}{# body_main #} {% block content_footer %} {% endblock %}