Skip to content
Snippets Groups Projects
Commit 9e556bd0 authored by Hagen Dreßler's avatar Hagen Dreßler
Browse files

Edit html template from component comment

parent 69a5260b
No related merge requests found
<ol class ="ol">
<li *ngFor="let comment of comments">
<mat-card>
<mat-card-content>
<b>{{comment.subject}}</b><br>
<div fxLayout="column" fxLayoutAlign="center" fxLayoutGap="10">
<ol class ="ol">
<li *ngFor="let comment of comments">
<mat-card>
<mat-card-content>
<h3>{{comment.subject}}</h3><br>
{{comment.body}}
</mat-card-content>
<mat-card-footer>
<div class="date">
<i> {{comment.creationTimestamp}} </i>
</div>
</mat-card-footer>
</mat-card><br>
</li>
</ol>
{{comment.body}}
</mat-card-content>
<mat-card-footer>
<div class="date">
<i> {{comment.creationTimestamp | date:'dd-MM-yyyy HH:mm:ss' : format}} </i>
</div>
</mat-card-footer>
</mat-card><br>
</li>
</ol>
</div>
<button mat-raised-button color="primary" (click)="goBack()">Back</button>
.date {
text-align: left;
text-align: right;
font-size: 80%;
margin-right: 10px;
}
.ol {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment