]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Add ability to schedule video publication
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.html
CommitLineData
b1d40cff 1<div i18n *ngIf="pagination.totalItems === 0">No results.</div>
6e33bf28 2
202f6b6c 3<div
0cd4344f
C
4 myInfiniteScroller
5 [pageHeight]="pageHeight"
6 (nearOfTop)="onNearOfTop()" (nearOfBottom)="onNearOfBottom()" (pageChanged)="onPageChanged($event)"
649f0334 7 class="videos" #videosElement
202f6b6c 8>
0cd4344f
C
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 <input [id]="'video-check-' + video.id" type="checkbox" [(ngModel)]="checkedVideos[video.id]" />
13 <label [for]="'video-check-' + video.id"></label>
14 </div>
ce0e281d 15
0cd4344f 16 <my-video-thumbnail [video]="video"></my-video-thumbnail>
d2cc03aa 17
0cd4344f
C
18 <div class="video-info">
19 <a class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a>
b1d40cff 20 <span i18n class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
bbe0f064 21 <div class="video-info-private">{{ video.privacy.label }}{{ getStateLabel(video) }}</div>
0cd4344f 22 </div>
d2cc03aa 23
0cd4344f
C
24 <!-- Display only once -->
25 <div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0 && j === 0">
26 <div class="action-selection-mode-child">
b1d40cff 27 <span i18n class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
0cd4344f
C
28 Cancel
29 </span>
ce0e281d 30
bbe0f064 31 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
0cd4344f 32 <span class="icon icon-delete-white"></span>
bbe0f064 33 <ng-container i18n>Delete</ng-container>
0cd4344f
C
34 </span>
35 </div>
ce0e281d 36 </div>
ce0e281d 37
0cd4344f
C
38 <div class="video-buttons" *ngIf="isInSelectionMode() === false">
39 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
332542bc 40
c663955b 41 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
0cd4344f 42 </div>
9b7d1c72 43 </div>
202f6b6c
C
44 </div>
45</div>