loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add missing public user visibility in user details page (#27246)

It seems that `Public` user visibility is missing in the template.

Before:

![image](https://github.com/go-gitea/gitea/assets/18380374/a8e7f3e0-1b77-41a0-921a-10adba90211e)

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/b0bffe13-0ca6-453e-95d7-0794528d5733)

authored by

yp05327 and committed by
GitHub
65d0b7c1 6af34c09

+1
+1
templates/admin/user/view_details.tmpl
··· 36 36 </div> 37 37 <div class="flex-item-body"> 38 38 <b>{{ctx.Locale.Tr "settings.visibility"}}:</b> 39 + {{if .User.Visibility.IsPublic}}{{ctx.Locale.Tr "settings.visibility.public"}}{{end}} 39 40 {{if .User.Visibility.IsLimited}}{{ctx.Locale.Tr "settings.visibility.limited"}}{{end}} 40 41 {{if .User.Visibility.IsPrivate}}{{ctx.Locale.Tr "settings.visibility.private"}}{{end}} 41 42 </div>