summaryrefslogtreecommitdiffstats
path: root/templates/admin/user/view_emails.tmpl
blob: 22ce305a88bce6f451fa225b6ad5041ea08ac2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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>