{{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 and .HaveBilling (not .PaidUntil)}}
{{else}} {{end}} {{if eq .AccountType 1}}
{{end}} {{if .HaveBilling}}
{{if eq .Plan 1}} Basic {{if .PaidUntil}}(valid until {{.PaidUntil}}){{else}}(upgrade){{end}} {{else if eq .Plan 2}} Pro{{if .PaidUntil}} (valid until {{.PaidUntil}}){{end}} {{else if eq .Plan 3}} Enterprise{{if .PaidUntil}} (valid until {{.PaidUntil}}){{end}} {{else}} Free Trial (upgrade) {{end}}
{{if not .PaidUntil}}
{{if .CardInfo}} {{.CardInfo}} (update) {{else}} None {{end}}
{{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" .}}