aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/comment/comment.component.html
blob: e46bdb7274607c409efe0696f930bfb287d12246 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<app-loading *ngIf="!loaded"></app-loading>

<section class="comment rounded-border" *ngIf="loaded">
	<summary class="author" (click)="goToAuthorProfile()">
		<img class="round-image" [src]="user.profilePictureURL">
		<div class="author-info">
			<div class="name">
				{{ user.firstName }} {{ user.lastName }}
			</div>
			<div class="handle">
				@{{ user.userName }}
			</div>
		</div>
	</summary>
	<article class="message" (click)="goToCommentPage()">
		{{ comment.message }}
	</article>
	<time class="timestamp" (click)="goToCommentPage()">
		{{ timeCreated }}
	</time>
</section>