]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-history/my-account-history.component.html
56d63f2996e6122b10550ede33e813679b76cac6
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-history / my-account-history.component.html
1 <div class="top-buttons">
2 <div class="history-switch">
3 <p-inputSwitch [(ngModel)]="videosHistoryEnabled" (ngModelChange)="onVideosHistoryChange()"></p-inputSwitch>
4 <label i18n>Video history</label>
5 </div>
6
7 <button class="delete-history" (click)="deleteHistory()" i18n>
8 <my-global-icon iconName="delete"></my-global-icon>
9 Delete history
10 </button>
11 </div>
12
13
14 <div class="no-history" i18n *ngIf="pagination.totalItems === 0">You don't have any video history yet.</div>
15
16 <div myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()" class="videos">
17 <div class="video" *ngFor="let video of videos">
18 <my-video-miniature
19 [video]="video" [displayAsRow]="true"
20 (videoRemoved)="removeVideoFromArray(video)" (videoBlacklisted)="removeVideoFromArray(video)"></my-video-miniature>
21 </div>
22 </div>