<core-loading *ngIf="!disabled" [hideUntil]="commentsLoaded || !displaySpinner">
    <div (click)="openComments()" *ngIf="!countError" [class.core-comments-clickable]="!disabled">
        {{ 'core.comments.commentscount' | translate : {'$a': commentsCount} }}
    </div>
    <div *ngIf="countError">
        {{ 'core.comments.commentsnotworking' | translate }}
    </div>
</core-loading>
