diff options
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comments.component.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comments.component.html b/client/src/app/videos/+video-watch/comment/video-comments.component.html index be20a8490..844263ddd 100644 --- a/client/src/app/videos/+video-watch/comment/video-comments.component.html +++ b/client/src/app/videos/+video-watch/comment/video-comments.component.html | |||
@@ -1,7 +1,12 @@ | |||
1 | <div> | 1 | <div> |
2 | <div class="title-block"> | 2 | <div class="title-block"> |
3 | <div i18n class="title-page title-page-single"> | 3 | <div class="title-page title-page-single"> |
4 | Comments | 4 | <ng-container *ngIf="comments.length > 0; then hasComments; else noComments"></ng-container> |
5 | <ng-template #hasComments> | ||
6 | <ng-container i18n *ngIf="comments.length === 1; else manyComments">1 Comment</ng-container> | ||
7 | <ng-template i18n #manyComments>{{ comments.length }} Comments</ng-template> | ||
8 | </ng-template> | ||
9 | <ng-template i18n #noComments>Comments</ng-template> | ||
5 | </div> | 10 | </div> |
6 | 11 | ||
7 | <my-feed [syndicationItems]="syndicationItems"></my-feed> | 12 | <my-feed [syndicationItems]="syndicationItems"></my-feed> |