]>
Commit | Line | Data |
---|---|---|
1 | <div class="video-playlists-header"> | |
2 | <h1 i18n>Playlists <span class="badge badge-secondary">{{ pagination.totalItems }}</span></h1> | |
3 | ||
4 | <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" /> | |
5 | ||
6 | <a class="create-button" routerLink="create"> | |
7 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> | |
8 | <ng-container i18n>Create playlist</ng-container> | |
9 | </a> | |
10 | </div> | |
11 | ||
12 | <div class="video-playlists" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> | |
13 | <div *ngFor="let playlist of videoPlaylists" class="video-playlist"> | |
14 | <div class="miniature-wrapper"> | |
15 | <my-video-playlist-miniature [playlist]="playlist" [toManage]="true" [displayChannel]="true" [displayDescription]="true" [displayPrivacy]="true" | |
16 | ></my-video-playlist-miniature> | |
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> |