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