2 [value]=
"videoChangeOwnerships"
4 [paginator]=
"totalRecords > 0"
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" rel=
"noopener noreferrer">
34 {{ videoChangeOwnership.video.name }}
37 <td>{{ videoChangeOwnership.createdAt }}
</td>
38 <td i18n
>{{ videoChangeOwnership.status }}
</td>
39 <td class=
"action-cell">
40 <ng-container *
ngIf=
"videoChangeOwnership.status === 'WAITING'">
41 <my-button i18n-label
label=
"Accept" icon=
"tick" (click)=
"openAcceptModal(videoChangeOwnership)"></my-button>
42 <my-button i18n-label
label=
"Refuse" icon=
"cross" (click)=
"refuse(videoChangeOwnership)"></my-button>
49 <my-account-accept-ownership #myAccountAcceptOwnershipComponent (accepted)=
"accepted()"></my-account-accept-ownership>