img.assigned-to.e2e-assigned-to-image(
    ng-if="vm.assignedTo && vm.has_permissions"
    tg-avatar="vm.assignedTo"
    alt="{{vm.assignedTo.get('full_name_display')}}"
    title="{{vm.assignedTo.get('full_name_display')}}"
    ng-click="vm.onSelectAssignedTo(vm.assignedTo, vm.project)"
)
img.assigned-to.e2e-assigned-to-image(
    ng-if="vm.assignedTo && !vm.has_permissions"
    tg-avatar="vm.assignedTo"
    alt="{{vm.assignedTo.get('full_name_display')}}"
    title="{{vm.assignedTo.get('full_name_display')}}"
)
img.assigned-to.e2e-assigned-to-image(
    ng-if="!vm.assignedTo && vm.has_permissions"
    src="/#{v}/images/unnamed.png"
    alt="{{'EPICS.DASHBOARD.UNASSIGNED' | translate}}"
    ng-click="vm.onSelectAssignedTo(vm.assignedTo, vm.project)"
)
img.assigned-to.e2e-assigned-to-image(
    ng-if="!vm.assignedTo && !vm.has_permissions"
    src="/#{v}/images/unnamed.png"
    alt="{{'EPICS.DASHBOARD.UNASSIGNED' | translate}}"
)
