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