[chore] little frontend tweaks (#3852)

* [chore] little frontend tweaks

* beep boop

* poke

* clarify server time
This commit is contained in:
tobi 2025-03-02 11:27:30 +01:00 committed by GitHub
commit 4c9901fc03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 44 deletions

View file

@ -18,7 +18,7 @@
*/ -}}
{{- define "ariaLabel" -}}
@{{ .Account.Acct -}}, {{ timestamp .CreatedAt -}}
@{{ .Account.Acct -}}, {{ .CreatedAt | timestampPrecise -}} (server time)
{{- if .LanguageTag -}}
, language {{ .LanguageTag.DisplayStr -}}
{{- end -}}
@ -52,5 +52,4 @@
id="{{- .ID -}}{{- if .Pinned -}}-pinned{{- end -}}"
role="region"
aria-label="{{- template "ariaLabel" . -}}"
class="status expanded h-entry"
{{- end }}