|
|
|
@@ -13,11 +13,11 @@ |
|
|
|
<dt *ngIf="sale.profit">{{'overview.profit' | translate}}:</dt> |
|
|
|
<dd *ngIf="sale.profit">{{ sale.profit }}</dd> |
|
|
|
<dt *ngIf="sale.comment">{{'overview.comment' | translate}}:</dt> |
|
|
|
<dd *ngIf="sale.comment">{{ sale.comment }}</dd> |
|
|
|
<dd *ngIf="sale.comment" [innerHTML]="apiConverter.getSafeLongtext(sale.comment)"></dd> |
|
|
|
</dl> |
|
|
|
</div> |
|
|
|
<div class="col-4"></div> |
|
|
|
<span class="position-absolute bi bi-pencil p-2" data-type="user-tool" data-action="edit" |
|
|
|
<span *ngIf="sale.owner === user?.id" class="position-absolute bi bi-pencil p-2" data-type="user-tool" data-action="edit" |
|
|
|
(click)="openModalEditSale()"></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@@ -33,12 +33,12 @@ |
|
|
|
<div class="card"> |
|
|
|
<div class="card-body"> |
|
|
|
<div class="d-flex justify-content-between align-items-center"> |
|
|
|
<p>{{ post.createdAt | date:'dd.MM.YYYY HH:mm' }}</p> |
|
|
|
<p>{{ post.createdAt | date:'dd.MM.YYYY' }}</p> |
|
|
|
<p>{{ post.ownerName }}</p> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<h3>{{ post.headline }}</h3> |
|
|
|
<p>{{ post.message }}</p> |
|
|
|
<p class="m-0" [innerHTML]="apiConverter.getSafeLongtext(post.message)"></p> |
|
|
|
</div> |
|
|
|
<span *ngIf="post.owner === user?.id" class="position-absolute bi bi-pencil p-2" data-type="user-tool" |
|
|
|
data-action="edit" (click)="openModalEditPosting(post)"></span> |
|
|
|
@@ -48,11 +48,11 @@ |
|
|
|
<div class="card ms-5" *ngFor="let comment of post.comments"> |
|
|
|
<div class="card-body"> |
|
|
|
<div class="d-flex justify-content-between align-items-center"> |
|
|
|
<p>{{ comment.createdAt | date:'dd.MM.YYYY HH:mm' }}</p> |
|
|
|
<p>{{ comment.createdAt | date:'dd.MM.YYYY' }}</p> |
|
|
|
<p>{{ comment.ownerName }}</p> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<p>{{ comment.message }}</p> |
|
|
|
<p class="m-0" [innerHTML]="apiConverter.getSafeLongtext(comment.message)"></p> |
|
|
|
</div> |
|
|
|
<span *ngIf="comment.owner === user?.id" class="position-absolute bi bi-pencil p-2" data-type="user-tool" |
|
|
|
data-action="edit" (click)="openModalEditComment(comment)"></span> |
|
|
|
|