0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-29 04:27:54 +01:00
gitea/templates/admin/user/view_emails.tmpl

20 lines
526 B
Handlebars
Raw Normal View History

<div class="flex-list">
{{range .Emails}}
<div class="flex-item">
<div class="flex-item-main">
<div class="flex-text-block">
{{.Email}}
{{if .IsPrimary}}
<div class="ui primary label">{{ctx.Locale.Tr "settings.primary"}}</div>
{{end}}
{{if .IsActivated}}
<div class="ui green label">{{ctx.Locale.Tr "settings.activated"}}</div>
{{else}}
<div class="ui label">{{ctx.Locale.Tr "settings.requires_activation"}}</div>
{{end}}
</div>
</div>
</div>
{{end}}
</div>