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

Delete list from component comment

parent 318efa3f
No related merge requests found
<div fxLayout="column" fxLayoutAlign="center" fxLayoutGap="10"> <div fxLayout="column" fxLayoutAlign="center" fxLayoutGap="10" *ngFor="let comment of comments">
<ol class ="ol"> <mat-card>
<li *ngFor="let comment of comments"> <mat-card-content>
<mat-card> <div class="comment-body">
<mat-card-content> <h3>{{comment.subject}}</h3><br>
<div class="comment-body">
<h3>{{comment.subject}}</h3><br>
{{comment.body}} {{comment.body}}
<div class="trash-icon"> <div class="trash-icon">
<i class="material-icons" (click)="delete(comment)">delete</i> <i class="material-icons" (click)="delete(comment)">delete</i>
</div> </div>
</div> </div>
</mat-card-content> </mat-card-content>
<mat-card-footer> <mat-card-footer>
<div class="date"> <div class="date">
<i> Submitted on {{comment.creationTimestamp | date:'dd-MM-yyyy HH:mm:ss' : format}} </i> <i> Submitted on {{comment.creationTimestamp | date:'dd-MM-yyyy HH:mm:ss' : format}} </i>
</div> </div>
</mat-card-footer> </mat-card-footer>
</mat-card><br> </mat-card><br>
</li>
</ol>
</div> </div>
<button mat-raised-button color="primary" (click)="goBack()">Back</button> <button mat-raised-button color="primary" (click)="goBack()">Back</button>
...@@ -9,7 +9,3 @@ ...@@ -9,7 +9,3 @@
font-size: 80%; font-size: 80%;
margin-right: 10px; margin-right: 10px;
} }
.ol {
list-style: none;
}
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