]>
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 | |
d607fc24 | 6 | <div class="video-playlists-header d-flex justify-content-between"> |
2e46eb97 | 7 | <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter> |
bf64ed41 | 8 | |
830b4faf | 9 | <a class="create-button" routerLink="create"> |
6ad971d5 | 10 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
8c966daa | 11 | <ng-container i18n>Create playlist</ng-container> |
830b4faf | 12 | </a> |
d607fc24 | 13 | </div> |
830b4faf | 14 | |
ad453580 | 15 | <div class="video-playlists" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> |
830b4faf | 16 | <div *ngFor="let playlist of videoPlaylists" class="video-playlist"> |
0f7407d9 C |
17 | <my-video-playlist-miniature |
18 | [playlist]="playlist" [toManage]="true" [displayChannel]="true" | |
19 | [displayDescription]="true" [displayPrivacy]="true" [displayAsRow]="true" | |
20 | ></my-video-playlist-miniature> | |
830b4faf C |
21 | |
22 | <div *ngIf="isRegularPlaylist(playlist)" class="video-playlist-buttons"> | |
30814423 | 23 | <my-delete-button label (click)="deleteVideoPlaylist(playlist)"></my-delete-button> |
830b4faf | 24 | |
30814423 | 25 | <my-edit-button label [routerLink]="[ 'update', playlist.uuid ]"></my-edit-button> |
830b4faf C |
26 | </div> |
27 | </div> | |
28 | </div> |