{% load i18n %} {% load permissions %} {% load translations %} {% perm 'screenshot.edit' object.translation.component as user_can_change_screenshot %} {% for unit in object.units.all %} {% format_translation unit.source unit.translation.component.source_language %} {{ unit.context }} {{ unit.location }} {{ unit.screenshots.count }} {% trans "View" %} {% if user_can_change_screenshot %}
{% csrf_token %}
{% endif %} {% empty %} {% trans "No source strings are currently assigned!" %} {% endfor %}