Skip to content

Commit 5c30848

Browse files
committed
links to user profile on home page cards
1 parent 8ce1140 commit 5c30848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/commudle-admin/src/app/components/home/components/home-builds/home-builds-card/home-builds-card.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<nb-icon icon="message-circle"></nb-icon>
1717
{{build.chat_messages_count}}
1818
</div>
19-
<div class="home-build-card-author d-flex align-items-center">
19+
<div class="home-build-card-author d-flex align-items-center" [routerLink]="['/users', build.user.username]">
2020
<div class="home-build-card-author-name">{{build.user.name}}</div>
2121
<img alt="{{build.user.name}}" src="{{build.user.avatar}}">
2222
</div>

projects/commudle-admin/src/app/components/home/components/home-labs/home-labs.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{ lab.name | truncatetext:45 }}
2020
</a>
2121
</p>
22-
<div class="author d-flex">
22+
<div class="author d-flex" [routerLink]="['/users', lab.user.username]">
2323
<div class="image">
2424
<img src="{{lab.user.avatar}}">
2525
</div>

0 commit comments

Comments
 (0)