{{template "header.tpl" .}} {{template "main-navbar.tpl" .}}

User Profile

{{if .Updated}} {{end}} {{if (and .HaveBilling (not .Plan))}} {{end}}
{{.Email}} {{if .EmailVerified}} {{else}} (verify) {{end}}
{{if .HaveBilling}}
{{else}} {{end}} {{if eq .AccountType 1}}
{{end}} {{if .HaveBilling}}
{{if eq .Plan 1}} Basic (upgrade) {{else if eq .Plan 2}} Pro {{else}} Free Trial (upgrade) {{end}}
{{if .CardInfo}} {{.CardInfo}} (update) {{else}} None (add) {{end}}
{{end}}
 
{{if (and .HaveBilling .BillingHistory)}}

Billing History

{{range .BillingHistory}} {{if eq .Type "invoice"}} {{else}} {{end}} {{end}}
{{.At.Format "2 Jan 2006"}}{{.Narration}}{{.Narration}}{{fmtCents .Amount}}
{{end}}
{{if .HaveBilling}} {{end}} {{template "footer-pre.tpl" .}} {{if .HaveBilling}} {{end}} {{template "footer-post.tpl" .}}