{{define "content"}} {{$d := .}} {{if eq $d.Notice "all_duplicates"}}
{{$d.T.Get "transactions.warning_all_dupes"}}
{{end}}

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

{{if or $.Cat $.Search $.Days}} {{$d.T.Get "transactions.filter.btn_clear"}} {{end}}
{{len $d.Txns}} transaction{{if ne (len $d.Txns) 1}}s{{end}}
{{range $d.Txns}} {{$color := index $d.CategoryColors .Category}} {{else}} {{end}}
{{$d.T.Get "transactions.table.col_date"}} {{$d.T.Get "transactions.table.col_description"}} {{$d.T.Get "transactions.table.col_account"}} {{$d.T.Get "transactions.table.col_category"}} {{$d.T.Get "transactions.table.col_amount"}}
{{dateShort .Date}} {{.Description}} {{$name := index $d.AccountNames .AccountID}} {{if $name}}{{$name}}{{else}}{{end}} {{if $color}}{{end}} {{.Category}} {{if lt .AmountCents 0}}−{{else}}+{{end}}€{{cents (centsAbs .AmountCents)}}
{{$d.T.Get "transactions.table.empty_msg"}} {{$d.T.Get "transactions.table.empty_import_link"}} or .
{{end}}