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