Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(template): fix wrong user link in template #969

LinkinStars245b5329540f
diff --git a/ui/template/question-detail.html b/ui/template/question-detail.html
index c254f79a..2134a04f 100644
--- a/ui/template/question-detail.html
+++ b/ui/template/question-detail.html
@@ -81,7 +81,7 @@
</div>
<div class="col-lg-3">
<div class="d-flex">
- <a href="{{$.baseURL}}/users/{{.UserInfo.Username}}"><img
+ <a href="{{$.baseURL}}/users/{{.detail.UserInfo.Username}}"><img
src="{{.detail.UserInfo.Avatar}}"
width="40px" height="40px"
class="rounded me-2 d-none d-md-block"