<commit_before>.assigned-title(ng-if="!isAssigned") {{ "COMMON.ASSIGNED_TO.NOT_ASSIGNED" | translate }}
.assigned-title(ng-if="isAssigned") {{ "COMMON.FIELDS.ASSIGNED_TO" | translate }}

.tg-assigned-users
    .not-assigned-users(ng-if="!isAssigned")
        .user-avatar(ng-class="{'is-iocaine': isIocaine}")
            img(
                tg-avatar=""
                alt="{{ 'COMMON.ASSIGNED_TO.ASSIGN' | translate }}"
            )

            //- .iocaine-symbol(ng-if="isIocaine" title="{{ 'TASK.TITLE_ACTION_IOCAINE' | translate }}")
            //- tg-svg(svg-icon="icon-iocaine")
        .assigned-to
            .assigned-users-options(ng-if="isEditable")
                a(
                    href=""
                    title="{{ 'COMMON.ASSIGNED_TO.TITLE_ACTION_EDIT_ASSIGNMENT'|translate }}"
                    class="user-assigned"
                    ng-class="{editable: isEditable}"
                    ng-click="openAssignedUsers()"
                )
                    span.assigned-name {{ "COMMON.ASSIGNED_TO.ASSIGN" | translate }}

                span(ng-if="!isAssigned")
                    span(translate="COMMON.OR")
                    | &nbsp;
                    a.self-assign(
                        href="#"
                        title="{{'COMMON.ASSIGNED_TO.SELF' | translate}}"
                        ng-click="selfAssign()"
                    )
                        span {{ "COMMON.ASSIGNED_TO.SELF" | translate }}

    .user-list-single(ng-repeat="assignedUser in assignedUsers")
        .user-list-avatar
            img(
                tg-avatar="assignedUser"
                alt="{{assignedUser.full_name_display}}"
            )
        .user-list-name.assigned-users-options
            a(
                href=""
                ng-click="assign()"
                title="{{ 'COMMON.ASSIGNED_TO.TITLE_ACTION_EDIT_ASSIGNMENT'|translate }}"
                class!="user-assigned <% if (isEditable) { %>editable<% }; %>"
            )
                span.assigned-name {{assignedUser.full_name_display}}
            tg-svg.remove-user(
                ng-if="isEditable",
                ng-click="unassign(assignedUser)"
                svg-icon="icon-close",
                title="{{'COMMON.ASSIGNED_TO.DELETE_ASSIGNMENT' | translate}}"
            )


.tg-add-assigned(ng-if="isAssigned && isEditable")
    tg-svg.add-assigned(
                ng-if="isEditable",
                data-assigned-user-id="{{assignedUser.id}}",
                ng-click="openAssignedUsers()",
                svg-icon="icon-add",<commit_msg>Unify assigned titles<commit_after>.assigned-title(ng-if="isAssigned") {{ "COMMON.FIELDS.ASSIGNED_TO" | translate }}

.tg-assigned-users
    .not-assigned-users(ng-if="!isAssigned")
        .user-avatar(ng-class="{'is-iocaine': isIocaine}")
            img(
                tg-avatar=""
                alt="{{ 'COMMON.ASSIGNED_TO.ASSIGN' | translate }}"
            )

            //- .iocaine-symbol(ng-if="isIocaine" title="{{ 'TASK.TITLE_ACTION_IOCAINE' | translate }}")
            //- tg-svg(svg-icon="icon-iocaine")
        .assigned-to
            .assigned-users-options(ng-if="isEditable")
                a(
                    href=""
                    title="{{ 'COMMON.ASSIGNED_TO.TITLE_ACTION_EDIT_ASSIGNMENT'|translate }}"
                    class="user-assigned"
                    ng-class="{editable: isEditable}"
                    ng-click="openAssignedUsers()"
                )
                    span.assigned-name {{ "COMMON.ASSIGNED_TO.ASSIGN" | translate }}

                span(ng-if="!isAssigned")
                    span(translate="COMMON.OR")
                    | &nbsp;
                    a.self-assign(
                        href="#"
                        title="{{'COMMON.ASSIGNED_TO.SELF' | translate}}"
                        ng-click="selfAssign()"
                    )
                        span {{ "COMMON.ASSIGNED_TO.SELF" | translate }}
            .assigned-title(ng-if="!isAssigned && !isEditable") {{ "COMMON.ASSIGNED_TO.NOT_ASSIGNED" | translate }}
    .user-list-single(ng-repeat="assignedUser in assignedUsers")
        .user-list-avatar
            img(
                tg-avatar="assignedUser"
                alt="{{assignedUser.full_name_display}}"
            )
        .user-list-name.assigned-users-options
            a(
                href=""
                ng-click="assign()"
                title="{{ 'COMMON.ASSIGNED_TO.TITLE_ACTION_EDIT_ASSIGNMENT'|translate }}"
                class!="user-assigned <% if (isEditable) { %>editable<% }; %>"
            )
                span.assigned-name {{assignedUser.full_name_display}}
            tg-svg.remove-user(
                ng-if="isEditable",
                ng-click="unassign(assignedUser)"
                svg-icon="icon-close",
                title="{{'COMMON.ASSIGNED_TO.DELETE_ASSIGNMENT' | translate}}"
            )


.tg-add-assigned(ng-if="isAssigned && isEditable")
    tg-svg.add-assigned(
                ng-if="isEditable",
                data-assigned-user-id="{{assignedUser.id}}",
                ng-click="openAssignedUsers()",
                svg-icon="icon-add",
{'fraction_non_alphanumeric': 0.14755675259715276, 'fraction_numerical': 0.0, 'mean_word_length': 1.5435420743639923, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4223629', 'n_tokens_mistral': 1631, 'n_tokens_neox': 1515, 'n_words': 154}