d2be6b220e
Reduce boilerplate and allocations. Fix the error shown on AccountEditEmailTokenSubmit when there aren't any emails rows. Add register_account_email_optional phrase. Add account_email_none phrase.
14 lines
682 B
HTML
14 lines
682 B
HTML
<div class="colstack_item colstack_head rowhead">
|
|
<div class="rowitem"><h1>{{lang "account_email_head"}}</h1></div>
|
|
</div>
|
|
<div class="colstack_item rowlist">
|
|
{{range .ItemList}}
|
|
<div class="rowitem">
|
|
<a>{{.Email}}</a>
|
|
<span class="to_right">
|
|
<span class="username">{{if .Primary}}{{lang "account_email_primary"}}{{else}}{{lang "account_email_secondary"}}{{end}}</span>
|
|
{{if .Validated}}<span class="username validated_email">{{lang "account_email_verified"}}</span>{{else}}<a class="username invalid_email">{{lang "account_email_resend_email"}}</a>{{end}}
|
|
</span>
|
|
</div>
|
|
{{else}}<div class="rowitem passive rowmsg">{{lang "account_email_none"}}</div>{{end}}
|
|
</div> |