]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html
Fix async issues with channels list
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / my-video-playlists / my-video-playlists.component.html
CommitLineData
d607fc24 1<h1>
4f5d0459
RK
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>
d607fc24 6</h1>
aa0f1963 7
d607fc24 8<div class="video-playlists-header d-flex justify-content-between">
4f5d0459 9 <div class="has-feedback has-clear">
d607fc24 10 <input type="text" placeholder="Search your playlists" i18n-placeholder [(ngModel)]="videoPlaylistsSearch"
11 (ngModelChange)="onVideoPlaylistSearchChanged()" />
4f5d0459
RK
12 <a class="glyphicon glyphicon-remove-sign form-control-feedback form-control-clear" (click)="resetSearch()"></a>
13 <span class="sr-only" i18n>Clear filters</span>
14 </div>
bf64ed41 15
830b4faf 16 <a class="create-button" routerLink="create">
6ad971d5 17 <my-global-icon iconName="add" aria-hidden="true"></my-global-icon>
8c966daa 18 <ng-container i18n>Create playlist</ng-container>
830b4faf 19 </a>
d607fc24 20</div>
830b4faf 21
ad453580 22<div class="video-playlists" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()" [dataObservable]="onDataSubject.asObservable()">
830b4faf
C
23 <div *ngFor="let playlist of videoPlaylists" class="video-playlist">
24 <div class="miniature-wrapper">
bce47964
C
25 <my-video-playlist-miniature [playlist]="playlist" [toManage]="true" [displayChannel]="true" [displayDescription]="true" [displayPrivacy]="true"
26 ></my-video-playlist-miniature>
830b4faf
C
27 </div>
28
29 <div *ngIf="isRegularPlaylist(playlist)" class="video-playlist-buttons">
30814423 30 <my-delete-button label (click)="deleteVideoPlaylist(playlist)"></my-delete-button>
830b4faf 31
30814423 32 <my-edit-button label [routerLink]="[ 'update', playlist.uuid ]"></my-edit-button>
830b4faf
C
33 </div>
34 </div>
35</div>