]>
Commit | Line | Data |
---|---|---|
4f5d0459 RK |
1 | <h1 class="d-flex justify-content-between"> |
2 | <span> | |
3 | <my-global-icon iconName="playlists" aria-hidden="true"></my-global-icon> | |
4 | <ng-container i18n>My playlists</ng-container> <span class="badge badge-secondary">{{ pagination.totalItems }}</span> | |
5 | </span> | |
aa0f1963 | 6 | |
4f5d0459 RK |
7 | <div class="has-feedback has-clear"> |
8 | <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch" (ngModelChange)="onVideoPlaylistSearchChanged()" /> | |
9 | <a class="glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)="resetSearch()"></a> | |
10 | <span class="sr-only" i18n>Clear filters</span> | |
11 | </div> | |
bf64ed41 | 12 | |
830b4faf | 13 | <a class="create-button" routerLink="create"> |
6ad971d5 | 14 | <my-global-icon iconName="add" aria-hidden="true"></my-global-icon> |
8c966daa | 15 | <ng-container i18n>Create playlist</ng-container> |
830b4faf | 16 | </a> |
4f5d0459 | 17 | </h1> |
830b4faf | 18 | |
ad453580 | 19 | <div class="video-playlists" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()"> |
830b4faf C |
20 | <div *ngFor="let playlist of videoPlaylists" class="video-playlist"> |
21 | <div class="miniature-wrapper"> | |
bce47964 C |
22 | <my-video-playlist-miniature [playlist]="playlist" [toManage]="true" [displayChannel]="true" [displayDescription]="true" [displayPrivacy]="true" |
23 | ></my-video-playlist-miniature> | |
830b4faf C |
24 | </div> |
25 | ||
26 | <div *ngIf="isRegularPlaylist(playlist)" class="video-playlist-buttons"> | |
27 | <my-delete-button (click)="deleteVideoPlaylist(playlist)"></my-delete-button> | |
28 | ||
29 | <my-edit-button [routerLink]="[ 'update', playlist.uuid ]"></my-edit-button> | |
30 | </div> | |
31 | </div> | |
32 | </div> |