{% load i18n %} {% load permissions %} {% load translations %} {% perm 'screenshot.edit' object.component as user_can_change_screenshot %} {% for source in sources %} {% with source.unit as unit %} {% if unit %} {% format_translation unit.source unit.translation.component.project.source_language %} {% trans "View" %} {% if user_can_change_screenshot %}
{% csrf_token %}
{% endif %} {% endif %} {% endwith %} {% empty %} {% trans "No source strings are currently assigned!" %} {% endfor %}