2 [value]=
"videoChangeOwnerships"
5 [totalRecords]=
"totalRecords"
7 [sortField]=
"sort.field"
8 [sortOrder]=
"sort.order"
9 (onLazyLoad)=
"loadLazy($event)"
11 <ng-template pTemplate=
"header">
13 <th i18n
>Initiator
</th>
15 <th i18n
pSortableColumn=
"createdAt">
17 <p-sortIcon field=
"createdAt"></p-sortIcon>
24 <ng-template pTemplate=
"body" let-videoChangeOwnership
>
27 <a [href]=
"videoChangeOwnership.initiatorAccount.url" i18n-title
title=
"Go to the account"
28 target=
"_blank" rel=
"noopener noreferrer">
29 {{ createByString(videoChangeOwnership.initiatorAccount) }}
33 <a [href]=
"videoChangeOwnership.video.url" i18n-title
title=
"Go to the video" target=
"_blank"
34 rel=
"noopener noreferrer">
35 {{ videoChangeOwnership.video.name }}
38 <td>{{ videoChangeOwnership.createdAt }}
</td>
39 <td i18n
>{{ videoChangeOwnership.status }}
</td>
40 <td class=
"action-cell">
41 <ng-container *
ngIf=
"videoChangeOwnership.status === 'WAITING'">
42 <my-button i18n
label=
"Accept"
44 (click)=
"openAcceptModal(videoChangeOwnership)"></my-button>
45 <my-button i18n
label=
"Refuse"
47 (click)=
"refuse(videoChangeOwnership)">Refuse
</my-button>
54 <my-account-accept-ownership #myAccountAcceptOwnershipComponent (accepted)=
"accepted()"></my-account-accept-ownership>