mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
<div class="comment row no-gutters">
|
|
<div class="col-auto">
|
|
<img class="user-picture" title="{{comment.user | sqxUserNameRef}}" [src]="comment.user | sqxUserPictureRef" />
|
|
</div>
|
|
<div class="col pl-2 col-right">
|
|
<div class="comment-message">
|
|
<div class="user-row">
|
|
<div class="user-ref">{{comment.user | sqxUserNameRef}}</div>
|
|
</div>
|
|
|
|
<div [innerHTML]="comment.text | sqxMarkdown"></div>
|
|
|
|
<div class="comment-created text-muted">
|
|
<ng-container *ngIf="canFollow && comment.url">
|
|
<a [routerLink]="comment.url">Follow</a>
|
|
</ng-container>
|
|
|
|
{{comment.time | sqxFromNow}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<button *ngIf="comment.user === userToken || canDelete" type="button" class="btn btn-sm btn-text-danger item-remove"
|
|
(sqxConfirmClick)="emitDelete()"
|
|
confirmTitle="Delete comment"
|
|
confirmText="Do you really want to delete the comment?"
|
|
[confirmRequired]="confirmDelete">
|
|
<i class="icon-bin2"></i>
|
|
</button>
|
|
</div>
|