Back to Peertube

Video channels

client/src/app/+accounts/account-video-channels/account-video-channels.component.html

8.1.5746 B
Original Source

Video channels

@if (channelPagination.totalItems === 0) { This account does not have channels. } @for (videoChannel of videoChannels; track videoChannel) {

{{ videoChannel.displayName }}

{videoChannel.followersCount, plural, =0 {No subscribers} =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}} @if (getTotalVideosOf(videoChannel) !== undefined) { {getTotalVideosOf(videoChannel), plural, =0 {No videos} =1 {1 video} other {{{ getTotalVideosOf(videoChannel) }} videos}} }

Show this channel

@if (getTotalVideosOf(videoChannel) === 0) { This channel doesn't have any videos. } @for (video of getVideosOf(videoChannel); track video) { } @if (getTotalVideosOf(videoChannel)) { SHOW THIS CHANNEL > }

}