]>
Commit | Line | Data |
---|---|---|
d607fc24 | 1 | <h1> |
0f7407d9 C |
2 | <my-global-icon iconName="playlists" aria-hidden="true"></my-global-icon> |
3 | <ng-container i18n>My playlists</ng-container> <span class="badge badge-secondary">{{ pagination.totalItems }}</span> | |
d607fc24 | 4 | </h1> |
aa0f1963 | 5 | |
7dca45f9 MK |
6 | <my-channels-setup-message></my-channels-setup-message> |
7 | ||
d607fc24 | 8 | <div class="video-playlists-header d-flex justify-content-between"> |
2e46eb97 | 9 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> |
bf64ed41 | 10 | |
830b4faf | 11 | <a class="create-button" routerLink="create"> |
6ad971d5 | 12 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
8c966daa | 13 | <ng-container i18n>Create playlist</ng-container> |
830b4faf | 14 | </a> |
d607fc24 | 15 | </div> |
830b4faf | 16 | |
dd24f1bb | 17 | <div class="video-playlists" myInfiniteScroller (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> |
830b4faf | 18 | <div *ngFor="let playlist of videoPlaylists" class="video-playlist"> |
0f7407d9 C |
19 | <my-video-playlist-miniature |
20 | [playlist]="playlist" [toManage]="true" [displayChannel]="true" | |
21 | [displayDescription]="true" [displayPrivacy]="true" [displayAsRow]="true" | |
22 | ></my-video-playlist-miniature> | |
830b4faf C |
23 | |
24 | <div *ngIf="isRegularPlaylist(playlist)" class="video-playlist-buttons"> | |
30814423 | 25 | <my-delete-button label (click)="deleteVideoPlaylist(playlist)"></my-delete-button> |
830b4faf | 26 | |
30814423 | 27 | <my-edit-button label [routerLink]="[ 'update', playlist.uuid ]"></my-edit-button> |
830b4faf C |
28 | </div> |
29 | </div> | |
30 | </div> |