1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00

Improve admin user view page (#33735)

1. show more user types
2. show prohibited state
This commit is contained in:
wxiaoguang
2025-02-27 17:47:37 +08:00
committed by GitHub
parent 0e477b590d
commit 8db8a3b0d1
2 changed files with 12 additions and 21 deletions

View File

@@ -3,7 +3,7 @@
<div class="flex-item">
<div class="flex-item-main">
<div class="flex-text-block">
{{.Email}}
<a href="mailto:{{.Email}}">{{.Email}}</a>
{{if .IsPrimary}}
<div class="ui primary label">{{ctx.Locale.Tr "settings.primary"}}</div>
{{end}}