parent
3adf3196c5
commit
44efbebac4
|
@ -1,7 +1,12 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="title-block">
|
<div class="title-block">
|
||||||
<div i18n class="title-page title-page-single">
|
<div class="title-page title-page-single">
|
||||||
Comments
|
<ng-container *ngIf="comments.length > 0; then hasComments; else noComments"></ng-container>
|
||||||
|
<ng-template #hasComments>
|
||||||
|
<ng-container i18n *ngIf="comments.length === 1; else manyComments">1 Comment</ng-container>
|
||||||
|
<ng-template i18n #manyComments>{{ comments.length }} Comments</ng-template>
|
||||||
|
</ng-template>
|
||||||
|
<ng-template i18n #noComments>Comments</ng-template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<my-feed [syndicationItems]="syndicationItems"></my-feed>
|
<my-feed [syndicationItems]="syndicationItems"></my-feed>
|
||||||
|
|
Loading…
Reference in New Issue