Skip to content

Commit

Permalink
Add missing public user visibility in user details page (go-gitea#27246)
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 authored Sep 25, 2023
1 parent 6af34c0 commit 65d0b7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/admin/user/view_details.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
</div>
<div class="flex-item-body">
<b>{{ctx.Locale.Tr "settings.visibility"}}:</b>
{{if .User.Visibility.IsPublic}}{{ctx.Locale.Tr "settings.visibility.public"}}{{end}}
{{if .User.Visibility.IsLimited}}{{ctx.Locale.Tr "settings.visibility.limited"}}{{end}}
{{if .User.Visibility.IsPrivate}}{{ctx.Locale.Tr "settings.visibility.private"}}{{end}}
</div>
Expand Down

0 comments on commit 65d0b7c

Please sign in to comment.