{% load i18n %} {% load submissions %} {% url component_submit_file pofile.object.project.slug pofile.object.slug pofile.filename as file_submit_url %} {% with pofile.filename as pofile_filename %} {% endwith %}
{% trans "Submit file" %}

{% if perms.projects.submit_file or can_submit_file %} {% endif %}

{% with pofile.locks.get.owner as owner %} {% if pofile.locked %} {% ifnotequal request.user.username owner.username %}

This file is locked by someone else. Are you sure that you want to do it?

{% endifnotequal %} {% endif %} {% endwith %}