diff --git a/web/template/profile.tmpl b/web/template/profile.tmpl index fe1ac092d..4207b39e8 100644 --- a/web/template/profile.tmpl +++ b/web/template/profile.tmpl @@ -36,10 +36,8 @@ {{else}} {{.account.Username}} {{end}} - . - @{{.account.Username}}, - {{acctInstance .account.Acct}} + @{{.account.Username}}@{{.instance.AccountDomain}} {{- /* Only render account role if 1. it's present and 2. it's not equal to the standard 'user' role */ -}} {{ if and (.account.Role) (ne .account.Role.Name "user") }}
@@ -50,7 +48,7 @@
Profile for {{if .account.DisplayName}}{{.account.DisplayName}}{{else}}{{.account.Username}}{{end}}. - Username @{{.account.Username}}, {{acctInstance .account.Acct}}. + Username @{{.account.Username}}, {{.instance.AccountDomain}}. {{ if and (.account.Role) (ne .account.Role.Name "user") }} Role: {{ .account.Role.Name }} {{ end }}