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