{{define "content"}} {{$d := .}}

{{$d.T.Get "networth.title"}}

{{if $d.Email}}{{$d.Email}}{{end}}
{{$d.T.Get "networth.hero_label"}} {{$d.T.Get "networth.hero_formula"}}
€0.00
{{$d.T.Get "networth.cash_label"}} €{{cents $d.CashCents}} {{$d.T.Get "networth.portfolio_label"}} €{{cents $d.PortfolioCents}} {{if $d.PropertyValueCents}} {{$d.T.Get "networth.property_equity_label"}} €{{cents $d.PropertyEquityCents}} {{end}} {{if $d.CreditCents}} {{$d.T.Get "networth.credit_label"}} -€{{cents $d.CreditCents}} {{end}}

{{$d.T.Get "networth.cards.cash_balance"}}

€0.00

{{$d.T.Get "networth.cards.cash_balance_sub"}}

{{$d.T.Get "networth.cards.portfolio"}}{{if not $d.PortfolioPricesAvailable}} ({{$d.T.Get "networth.cards.portfolio_cost_basis"}}){{end}}

€0.00
{{if $d.PortfolioPricesAvailable}}

{{$d.T.Get "networth.cards.portfolio_market"}}

{{else}}

{{$d.T.Get "networth.cards.portfolio_cost_shown"}}

{{end}}
{{if $d.PropertyValueCents}}

{{$d.T.Get "networth.cards.property_equity"}}

€0.00

€{{cents $d.PropertyValueCents}} value − €{{cents $d.LoanBalanceCents}} loans

{{end}} {{if $d.CreditCents}}

{{$d.T.Get "networth.cards.credit_liabilities"}}

€0.00

{{$d.T.Get "networth.cards.outstanding_balance"}}

{{end}}
{{if $d.History}}

{{$d.T.Get "networth.chart.section_title"}}

{{$d.T.Get "networth.chart.subtitle"}}
{{else}}
📊

{{$d.T.Get "networth.empty.title"}}

{{$d.T.Get "networth.empty.desc"}}

{{$d.T.Get "networth.empty.btn_import"}}
{{end}} {{end}}