Back to Peertube

My Video Playlists.Component

client/src/app/+my-library/my-video-playlists/my-video-playlists.component.html

8.1.51.1 KB
Original Source

Filter by a channel

This allows you to reorder playlists assigned to it

@for (channel of channels; track channel.id) { }

@if (getFilteredChannel()) { { totalRecords, plural, =0 {No playlist} =1 {1 playlist} other {{{ totalRecords | myNumberFormatter }} playlists}} in {{ getFilteredChannel().displayName }} channel } @else { { totalRecords, plural, =0 {No playlist} =1 {1 playlist} other {{{ totalRecords | myNumberFormatter }} playlists}} } Create playlist @if (table.isColumnDisplayed('videoChannelPosition')) { {{ playlist.videoChannelPosition }} | } @if (table.isColumnDisplayed('videos')) { | } @if (table.isColumnDisplayed('name')) {
{{ playlist.displayName }} @if (playlist.videoChannel) { {{ playlist.videoChannel.displayName }} @if (user.isCollaboratingToChannels()) { @if (user.isOwnerOfChannel(playlist.videoChannel)) { } @else if (user.isEditorOfChannel(playlist.videoChannel)) { } } } | } @if (table.isColumnDisplayed('privacy')) { | } @if (table.isColumnDisplayed('updatedAt')) { {{ playlist.updatedAt | ptDate: 'short' }} | } @if(isRegularPlaylist(playlist)) { } {{ playlist.description }} {{ getNoResults(search) }}