dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 7c3344c7b76187f1ac1bab39fb8a5e999aca5e97
parent 5579ce0f48d07624f27845ccce4136c550ea0cc0
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 19 Mar 2023 05:40:06 -0700

click on username go to profile in archive page

Diffstat:
Mpkg/web/public/views/pages/chat-archive.gohtml | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/public/views/pages/chat-archive.gohtml b/pkg/web/public/views/pages/chat-archive.gohtml @@ -136,7 +136,7 @@ {{- else -}} {{- if .Moderators -}}<span class="sysmsg">[M]</span>&nbsp;{{- end -}} {{- if .ToUserID -}}[{{- end -}} - <span {{ .User.GenerateChatStyle | attr }}>{{ .User.Username }}</span> + <a {{ .User.GenerateChatStyle | attr }} href="/u/{{ .User.Username }}" rel="noopener noreferrer" target="_blank">{{ .User.Username }}</a> {{- if .ToUserID -}} &nbsp;→ <span {{ .ToUser.GenerateChatStyle | attr }}>{{ .ToUser.Username }}</span>] - {{- else -}}