diff --git a/src/templates/mapping.go b/src/templates/mapping.go index c53fab39..7466f816 100644 --- a/src/templates/mapping.go +++ b/src/templates/mapping.go @@ -222,6 +222,7 @@ func UserToTemplate(u *models.User) User { Signature: u.Signature, DateJoined: u.DateJoined, ProfileUrl: hmnurl.BuildUserProfile(u.Username), + Avatar: AssetToTemplate(u.AvatarAsset), AvatarUrl: UserAvatarUrl(u), Timezone: u.Timezone, diff --git a/src/templates/src/user_settings.html b/src/templates/src/user_settings.html index f9c073f7..93d14c51 100644 --- a/src/templates/src/user_settings.html +++ b/src/templates/src/user_settings.html @@ -1,4 +1,4 @@ -{{ template "base.html" . }} +{{ template "base-2024.html" . }} {{ define "extrahead" }} @@ -6,6 +6,207 @@ {{ end }} {{ define "content" }} +