dkforest

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

commit f647ab6ef67b139f16e0f37ab088a7b1e6a14d34
parent a4b07b3c53500c4ebfae51905d2d38fa7ffecaeb
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu, 12 Jan 2023 20:23:05 -0800

fix afk space

Diffstat:
Mpkg/web/public/views/pages/chat-messages.gohtml | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/web/public/views/pages/chat-messages.gohtml b/pkg/web/public/views/pages/chat-messages.gohtml @@ -376,7 +376,7 @@ {{- if eq .Username $.AuthUser.Username -}} <div> <span style="color: {{ .Color }};">{{ .Username }}</span> - {{- if .AfkIndicatorEnabled -}} + {{ if .AfkIndicatorEnabled -}} <small class="afk-indicator">afk</small> {{- end -}} </div> @@ -392,7 +392,7 @@ target="iframe1" {{ if and (.IsHellbanned) $.AuthUser.DisplayHellbanned }} class="hb-row"{{ end }} style="color: {{ .Color }};">{{ .Username | rest }}</a> - {{- if .AfkIndicatorEnabled -}} + {{ if .AfkIndicatorEnabled -}} <small class="afk-indicator">afk</small> {{- end -}} </div>