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