]>
Commit | Line | Data |
---|---|---|
830b4faf | 1 | <div class="video-playlists-header"> |
bf64ed41 RK |
2 | <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" /> |
3 | ||
830b4faf C |
4 | <a class="create-button" routerLink="create"> |
5 | <my-global-icon iconName="add"></my-global-icon> | |
6 | <ng-container i18n>Create a new playlist</ng-container> | |
7 | </a> | |
8 | </div> | |
9 | ||
ad453580 | 10 | <div class="video-playlists" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> |
830b4faf C |
11 | <div *ngFor="let playlist of videoPlaylists" class="video-playlist"> |
12 | <div class="miniature-wrapper"> | |
bce47964 C |
13 | <my-video-playlist-miniature [playlist]="playlist" [toManage]="true" [displayChannel]="true" [displayDescription]="true" [displayPrivacy]="true" |
14 | ></my-video-playlist-miniature> | |
830b4faf C |
15 | </div> |
16 | ||
17 | <div *ngIf="isRegularPlaylist(playlist)" class="video-playlist-buttons"> | |
18 | <my-delete-button (click)="deleteVideoPlaylist(playlist)"></my-delete-button> | |
19 | ||
20 | <my-edit-button [routerLink]="[ 'update', playlist.uuid ]"></my-edit-button> | |
21 | </div> | |
22 | </div> | |
23 | </div> |