diff options
Diffstat (limited to 'client/src/app/+accounts/account-video-channels/account-video-channels.component.html')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html index 4ebad514c..93f43a350 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html | |||
@@ -9,14 +9,18 @@ | |||
9 | <img [src]="videoChannel.avatarUrl" alt="Avatar" /> | 9 | <img [src]="videoChannel.avatarUrl" alt="Avatar" /> |
10 | 10 | ||
11 | <div>{{ videoChannel.displayName }}</div> | 11 | <div>{{ videoChannel.displayName }}</div> |
12 | <div i18n class="followers">{{ videoChannel.followersCount }} subscribers</div> | 12 | <div class="followers">{{ videoChannel.followersCount }} |
13 | <ng-container *ngIf="videoChannel.followersCount === 1; then single; else multiple"></ng-container> | ||
14 | <ng-template i18n #single>subscriber</ng-template> | ||
15 | <ng-template i18n #multiple>subscribers</ng-template> | ||
16 | </div> | ||
13 | </a> | 17 | </a> |
14 | 18 | ||
15 | <my-subscribe-button [videoChannel]="videoChannel"></my-subscribe-button> | 19 | <my-subscribe-button [videoChannels]="[videoChannel]"></my-subscribe-button> |
16 | </div> | 20 | </div> |
17 | 21 | ||
18 | <div *ngIf="getVideosOf(videoChannel)" class="videos"> | 22 | <div *ngIf="getVideosOf(videoChannel)" class="videos"> |
19 | <div class="no-results" i18n *ngIf="getVideosOf(videoChannel).length === 0">This channel does not have videos.</div> | 23 | <div class="no-results my-5" i18n *ngIf="getVideosOf(videoChannel).length === 0">This channel doesn't have any videos.</div> |
20 | 24 | ||
21 | <my-video-miniature | 25 | <my-video-miniature |
22 | *ngFor="let video of getVideosOf(videoChannel)" | 26 | *ngFor="let video of getVideosOf(videoChannel)" |