diff --git a/templates/user/settings/appearance.tmpl b/templates/user/settings/appearance.tmpl index df4d6f3999..5c32055ea4 100644 --- a/templates/user/settings/appearance.tmpl +++ b/templates/user/settings/appearance.tmpl @@ -7,37 +7,64 @@
-
- {{ctx.Locale.Tr "settings.theme_desc"}} -
- -
- {{.CsrfTokenHtml}} -
- - + {{$theme := index .AllThemes $.SignedUser.Theme}} + {{if $theme.Author}} +
+

+ {{$theme.Name}} + by {{$theme.Author}} {{if $theme.Verified}}{{svg "octicon-verified" 16 "dropdown icon"}}{{end}} +

+ {{if $theme.Description}} +

"{{$theme.Description}}"

+ {{end}}
-
- -
- +
+ {{ctx.Locale.Tr "settings.theme_desc"}} +
+ {{else}} +
+ {{ctx.Locale.Tr "settings.theme_desc"}} +
+ {{end}} + +
+ {{.CsrfTokenHtml}} +
+ + +
+ +
+ +
+