blob: 56d63f2996e6122b10550ede33e813679b76cac6 (
plain) (
tree)
|
|
<div class="top-buttons">
<div class="history-switch">
<p-inputSwitch [(ngModel)]="videosHistoryEnabled" (ngModelChange)="onVideosHistoryChange()"></p-inputSwitch>
<label i18n>Video history</label>
</div>
<button class="delete-history" (click)="deleteHistory()" i18n>
<my-global-icon iconName="delete"></my-global-icon>
Delete history
</button>
</div>
<div class="no-history" i18n *ngIf="pagination.totalItems === 0">You don't have any video history yet.</div>
<div myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [autoInit]="true" [dataObservable]="onDataSubject.asObservable()" class="videos">
<div class="video" *ngFor="let video of videos">
<my-video-miniature
[video]="video" [displayAsRow]="true"
(videoRemoved)="removeVideoFromArray(video)" (videoBlacklisted)="removeVideoFromArray(video)"></my-video-miniature>
</div>
</div>
|