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