mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
16 lines
680 B
HTML
16 lines
680 B
HTML
<div class="adf-comments-container">
|
|
<div id="comment-header" class="adf-comments-header">
|
|
{{'ADF_TASK_LIST.DETAILS.COMMENTS.HEADER' | translate: { count: comments?.length} }}
|
|
</div>
|
|
<div class="adf-comments-input-container" *ngIf="!isReadOnly()">
|
|
<mat-form-field class="adf-full-width">
|
|
<input matInput id="comment-input" placeholder="{{'ADF_TASK_LIST.DETAILS.COMMENTS.ADD' | translate}}" [(ngModel)]="message" (keyup.enter)="add()" (keyup.esc)="clear()">
|
|
</mat-form-field>
|
|
</div>
|
|
|
|
<div *ngIf="comments.length > 0">
|
|
<adf-comment-list [comments]="comments">
|
|
</adf-comment-list>
|
|
</div>
|
|
</div>
|