]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.html
Set thumbnail height
[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
489290b8
C
3<div myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" class="videos">
4 <div class="video" *ngFor="let video of videos; let i = index">
5 <div class="checkbox-container">
6 <my-peertube-checkbox [inputName]="'video-check-' + video.id" [(ngModel)]="checkedVideos[video.id]"></my-peertube-checkbox>
7 </div>
ce0e281d 8
489290b8 9 <my-video-thumbnail [video]="video"></my-video-thumbnail>
d2cc03aa 10
489290b8
C
11 <div class="video-info">
12 <a class="video-info-name" [routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name">{{ video.name }}</a>
13 <span i18n class="video-info-date-views">{{ video.createdAt | myFromNow }} - {{ video.views | myNumberFormatter }} views</span>
14 <div class="video-info-privacy">{{ video.privacy.label }}{{ getStateLabel(video) }}</div>
15 <div *ngIf="video.blacklisted" class="video-info-blacklisted">
16 <span class="blacklisted-label" i18n>Blacklisted</span>
17 <span class="blacklisted-reason" *ngIf="video.blacklistedReason">{{ video.blacklistedReason }}</span>
0cd4344f 18 </div>
489290b8 19 </div>
d2cc03aa 20
489290b8
C
21 <!-- Display only once -->
22 <div class="action-selection-mode" *ngIf="isInSelectionMode() === true && i === 0">
23 <div class="action-selection-mode-child">
24 <span i18n class="action-button action-button-cancel-selection" (click)="abortSelectionMode()">
25 Cancel
26 </span>
27
28 <span class="action-button action-button-delete-selection" (click)="deleteSelectedVideos()">
29 <my-global-icon iconName="delete"></my-global-icon>
30 <ng-container i18n>Delete</ng-container>
31 </span>
ce0e281d 32 </div>
489290b8 33 </div>
ce0e281d 34
489290b8
C
35 <div class="video-buttons" *ngIf="isInSelectionMode() === false">
36 <my-delete-button (click)="deleteVideo(video)"></my-delete-button>
332542bc 37
489290b8 38 <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
74d63469 39
489290b8
C
40 <my-button i18n-label label="Change ownership"
41 className="action-button-change-ownership"
42 icon="im-with-her"
43 (click)="changeOwnership($event, video)"
44 ></my-button>
9b7d1c72 45 </div>
202f6b6c
C
46 </div>
47</div>
74d63469 48
457bb213 49<my-video-change-ownership #videoChangeOwnershipModal></my-video-change-ownership>