-<div class="root-comment">
+<div *ngIf="!comment.isDeleted || comment.isDeleted && comment.totalReplies !== 0" class="root-comment">
<div class="left">
<a *ngIf="!comment.isDeleted" [href]="comment.account.url" target="_blank" rel="noopener noreferrer">
<img
<div *ngIf="isRemovableByUser()" (click)="onWantToDelete()" class="comment-action-delete" i18n>Delete</div>
<my-user-moderation-dropdown
+ [prependActions]="prependModerationActions"
buttonSize="small" [account]="commentAccount" [user]="commentUser" i18n-label label="Options" placement="bottom-left auto"
></my-user-moderation-dropdown>
</div>
class="comment-date">{{ comment.createdAt | myFromNow }}</a>
</div>
- <div *ngIf="comment.isDeleted" class="comment-html comment-html-deleted">
+ <div class="comment-html comment-html-deleted">
<i i18n>This comment has been deleted</i>
</div>
</ng-container>
</div>
</div>
</div>
+
+<ng-container *ngIf="prependModerationActions">
+ <my-comment-report #commentReportModal [comment]="comment"></my-comment-report>
+</ng-container>