2 <my-global-icon iconName=
"channel" aria-hidden=
"true"></my-global-icon>
3 <ng-container i18n
>My channels
</ng-container>
4 <span class=
"badge badge-secondary">{{ totalItems }}
</span>
7 <my-channels-setup-message [hideLink]=
"true"></my-channels-setup-message>
9 <div class=
"video-channels-header d-flex justify-content-between">
10 <my-advanced-input-filter (search)=
"onSearch($event)"></my-advanced-input-filter>
12 <a class=
"create-button" routerLink=
"create">
13 <my-global-icon iconName=
"add" aria-hidden=
"true"></my-global-icon>
14 <ng-container i18n
>Create video channel
</ng-container>
18 <div class=
"no-results" i18n *
ngIf=
"totalItems === 0">No channel found.
</div>
20 <div class=
"video-channels">
21 <div *
ngFor=
"let videoChannel of videoChannels; let i = index" class=
"video-channel">
22 <my-actor-avatar [channel]=
"videoChannel" [internalHref]=
"[ '/c', videoChannel.nameWithHost ]"></my-actor-avatar>
24 <div class=
"video-channel-info">
25 <a [routerLink]=
"[ '/c', videoChannel.nameWithHost ]" class=
"video-channel-names" i18n-title
title=
"Channel page">
26 <div class=
"video-channel-display-name">{{ videoChannel.displayName }}
</div>
27 <div class=
"video-channel-name">{{ videoChannel.nameWithHost }}
</div>
31 i18n
class=
"video-channel-followers"
32 [routerLink]=
"[ '/my-library', 'followers' ]" [queryParams]=
"{ search: 'channel:' + videoChannel.name }"
34 {videoChannel.followersCount, plural, =
1 {
1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}
37 <div i18n
class=
"video-channel-videos">{videoChannel.videosCount, plural, =
0 {No videos} =
1 {
1 video} other {{{ videoChannel.videosCount }} videos}}
</div>
39 <div class=
"video-channel-buttons">
40 <my-edit-button label [routerLink]=
"[ 'update', videoChannel.nameWithHost ]"></my-edit-button>
41 <my-delete-button label (click)=
"deleteVideoChannel(videoChannel)"></my-delete-button>
44 <div *
ngIf=
"!isInSmallView" class=
"w-100 d-flex justify-content-end">
45 <p-chart *
ngIf=
"chartOptions && videoChannelsChartData && videoChannelsChartData[i]" type=
"line" [data]=
"videoChannelsChartData[i]" [options]=
"chartOptions" width=
"40vw" height=
"100px"></p-chart>