2 <my-global-icon iconName=
"channel" aria-hidden=
"true"></my-global-icon>
3 <ng-container i18n
>My channels
</ng-container>
6 <div class=
"video-channels-header">
7 <a class=
"create-button" routerLink=
"create">
8 <my-global-icon iconName=
"add" aria-hidden=
"true"></my-global-icon>
9 <ng-container i18n
>Create video channel
</ng-container>
13 <div class=
"video-channels">
14 <div *
ngFor=
"let videoChannel of videoChannels; let i = index" class=
"video-channel">
15 <a [routerLink]=
"[ '/video-channels', videoChannel.nameWithHost ]">
16 <img [src]=
"videoChannel.avatarUrl" alt=
"Avatar" />
19 <div class=
"video-channel-info">
20 <a [routerLink]=
"[ '/video-channels', videoChannel.nameWithHost ]" class=
"video-channel-names" i18n-title
title=
"Channel page">
21 <div class=
"video-channel-display-name">{{ videoChannel.displayName }}
</div>
22 <div class=
"video-channel-name">{{ videoChannel.nameWithHost }}
</div>
25 <div i18n
class=
"video-channel-followers">{videoChannel.followersCount, plural, =
1 {
1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}
</div>
27 <div i18n
class=
"video-channel-videos">{videoChannel.videosCount, plural, =
0 {No videos} =
1 {
1 video} other {{{ videoChannel.videosCount }} videos}}
</div>
29 <div class=
"video-channel-buttons">
30 <my-edit-button [routerLink]=
"[ 'update', videoChannel.nameWithHost ]"></my-edit-button>
31 <my-delete-button (click)=
"deleteVideoChannel(videoChannel)"></my-delete-button>
34 <div *
ngIf=
"!isInSmallView" class=
"w-100 d-flex justify-content-end">
35 <p-chart *
ngIf=
"videoChannelsChartData && videoChannelsChartData[i]" type=
"line" [data]=
"videoChannelsChartData[i]" [options]=
"chartOptions" width=
"40vw" height=
"100px"></p-chart>