{% 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 %}