{{define "content"}} {{$d := .}} {{if eq $d.Notice "all_duplicates"}}
Every row in that file was already imported — nothing was added.
{{end}}

Transactions

{{if or $.Cat $.Search $.Days}} Clear {{end}}
{{len $d.Txns}} transaction{{if ne (len $d.Txns) 1}}s{{end}}
{{range $d.Txns}} {{$color := index $d.CategoryColors .Category}} {{else}} {{end}}
Date Description Account Category 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)}}
No transactions found. Import some or .
{{end}}