All files / app/shared/components/inwork-item inwork-item.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 444x                                                                                      
<div
    class="inwork-item"
    data-testid="inwork-item"
>
    <ui-icon
        class="inwork-icon"
        name="edit"
        size="small"
    />
 
    <div class="inwork-content">
        <div class="inwork-title-row">
            <span
                class="inwork-title"
                data-testid="inwork-title"
            >
                {{ item().title }}
            </span>
            <span
                class="inwork-age"
                data-testid="inwork-age"
            >
                {{ ageMinutes() }} мин. назад
            </span>
        </div>
 
        <div
            class="inwork-meta"
            data-testid="inwork-meta"
        >
            {{ item().author }}, {{ editType() }}
        </div>
    </div>
 
    @if (isOwn()) {
        <ui-icon-button
            data-testid="cancel-inwork-button"
            label="Отменить редактирование"
            icon="close"
            (clicked)="onCancel()"
        />
    }
</div>