{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentAccountIndexPage*/ -}} {{( pgettext "Payment Accounts" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentAccountIndexPage*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentAccountIndexPage*/ -}} {{ with .Accounts }} {{- range . }} {{- end }} {{ else }} {{ end }}
{{( pgettext "Name" "title" )}} {{( pgettext "Type" "title" )}} {{( pgettext "Number" "title" )}} {{( pgettext "Expiration Date" "title" )}}
{{ .Name }} {{ .TypeLabel }} {{- if eq .Type "bank" -}} {{ .IBAN }} {{- else if eq .Type "card" -}} •••• •••• •••• {{ .LastFourDigits }} {{- end -}} {{ .ExpirationDate }}
{{( gettext "No payment accounts added yet." )}}
{{- end }}