1 <div i18n *
ngIf=
"pagination.totalItems === 0">No results.
</div>
5 [pageHeight]=
"pageHeight"
6 (nearOfTop)=
"onNearOfTop()" (nearOfBottom)=
"onNearOfBottom()" (pageChanged)=
"onPageChanged($event)"
7 class=
"videos" #videosElement
9 <div *
ngFor=
"let videos of videoPages; let i = index" class=
"videos-page">
10 <div class=
"video" *
ngFor=
"let video of videos; let j = index">
11 <div class=
"checkbox-container">
12 <my-peertube-checkbox [inputName]=
"'video-check-' + video.id" [(ngModel)]=
"checkedVideos[video.id]"></my-peertube-checkbox>
15 <my-video-thumbnail [video]=
"video"></my-video-thumbnail>
17 <div class=
"video-info">
18 <a class=
"video-info-name" [routerLink]=
"['/videos/watch', video.uuid]" [attr.title]=
"video.name">{{ video.name }}
</a>
19 <span i18n
class=
"video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
</span>
20 <div class=
"video-info-private">{{ video.privacy.label }}{{ getStateLabel(video) }}
</div>
21 <div *
ngIf=
"video.blacklisted" class=
"video-info-blacklisted">
22 <span class=
"blacklisted-label" i18n
>Blacklisted
</span>
23 <span class=
"blacklisted-reason" *
ngIf=
"video.blacklistedReason">{{ video.blacklistedReason }}
</span>
27 <!-- Display only once -->
28 <div class=
"action-selection-mode" *
ngIf=
"isInSelectionMode() === true && i === 0 && j === 0">
29 <div class=
"action-selection-mode-child">
30 <span i18n
class=
"action-button action-button-cancel-selection" (click)=
"abortSelectionMode()">
34 <span class=
"action-button action-button-delete-selection" (click)=
"deleteSelectedVideos()">
35 <span class=
"icon icon-delete-white"></span>
36 <ng-container i18n
>Delete
</ng-container>
41 <div class=
"video-buttons" *
ngIf=
"isInSelectionMode() === false">
42 <my-delete-button (click)=
"deleteVideo(video)"></my-delete-button>
44 <my-edit-button [routerLink]=
"[ '/videos', 'update', video.uuid ]"></my-edit-button>
46 <my-button i18n-label
label=
"Change ownership"
47 className=
"action-button-change-ownership"
48 icon=
"icon-im-with-her"
49 (click)=
"changeOwnership($event, video)"
56 <my-video-change-ownership #videoChangeOwnershipModal
></my-video-change-ownership>