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

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

{% if perms.projects.pr_resource_add_change or is_maintainer %}
{% trans "Add New Resource" %}
{% endif %}
{% if is_maintainer %} {% upload_create_resource_form request project %} {% endif %} {% 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 "Category" %} {% trans "Last Updated" %} {% trans "Importance" %}
{{ stat.object.name }} » {{ stat.object.category }} {% 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 %}