<div class="flex-divided-list items-with-main">
	{{range .Emails}}
		<div class="item">
			<div class="item-main">
				<div class="flex-text-block">
					<a href="mailto:{{.Email}}">{{.Email}}</a>
					{{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>
