{% load i18n %} {% load txcommontags %} {% load permissions %} {% load txpermissions %}
{% if approved %}

{% trans "Give access to a translator to send translations to your project" %}

{% else %}

{% trans "Requests for access to submit files" %}

{% endif %} {% get_permission "project_perm.submit_file" for request.user and project as "can_submit_file" %} {% get_permission_request "project_perm.submit_file" for request.user and project as "can_submit_file_request" %} {% if is_maintainer %}
{% form_as_table_rows project_form %}
{% endif %} {% if not project.anyone_submit %}
{% if form and not can_submit_file_request %} {% include "txpermissions/permission_form.html" %} {% else %} {% if approved %} {% txpermission_form for project using "project_perm.submit_file" %} {% else %} {% if not can_submit_file and not can_submit_file_request %} {% txpermission_request_form for project using "project_perm.submit_file" %} {% endif %} {% endif %} {% endif %}
{% get_permission_requests project as "all_permission_requests" %} {% if all_permission_requests %}

{% trans "Pending requests:" %}

{% endif %} {% get_permissions project as "all_permissions" %} {% if all_permissions %}

{% trans "Users with guaranteed access to submit files:" %}

{% endif %} {% endif %}