{% load i18n %} {% load cache %} {% load txcommontags %} {% load permissions %} {% load statistics_resources %} {% load upload_manager_tags %}

{% trans "Add New Resource" %}

{% blocktrans %}Project Resources{% endblocktrans %}

{% for stat in statslist %} {% if forloop.first %} {% endif %} {% cache 604800 project_resource_details project.slug stat.object.slug LANGUAGE_CODE %} {% endcache %} {% if forloop.last %}
{% trans "Resource Name" %} {% trans "Last Updated" %} {% trans "Importance" %}
{{ stat.object.name }} {% with stat.last_committer as last_committer %} {% endwith %} {% with stat.last_update as last_update %} {% if last_update %} {{ last_update|date:"M d, h:ia" }} {% else %} {% trans "no translations yet" %} {% endif %} {% endwith %} {% with stat.object.priority.level as priority_level %} {% with stat.object.priority.display_level as display_level %} {% if is_maintainer %} {% else %} {% endif %} {% endwith %} {% endwith %}
{% endif %} {% empty %}

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

{% endfor %} {% comment %} {% get_permission "project_perm.submit_translations" for request.user and project,1 as "can_submit_translation" %} {% get_permission "project_perm.maintain" for request.user and project as "is_maintainer" %} {% if can_submit_translation or request.user.is_superuser or is_maintainer %}
GO

{% trans "Translate All" %}

{% endif %} {% endcomment %} {% if is_maintainer %} {% upload_create_resource_form request project %} {% endif %}