mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
20 lines
526 B
Go HTML Template
20 lines
526 B
Go HTML Template
|
<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>
|