{{ define "Title" }}{{ or .Prefix "Řady" }}{{ end }} {{ define "Content" }} {{ if .ErrorInvalidPrefix }}
Chyba: Neplatný prefix. {{ else if .ErrorSeriesAlreadyExists }}
Chyba: Řada s tímto prefixem už existuje. {{ else if .ErrorCannotChangePrefix }}
Chyba: Prefix nelze měnit. {{ else if .ErrorNoSuchSeries }}
Chyba: Řada neexistuje. {{ else if .ErrorSeriesInUse }}
Chyba: Řada se používá. {{ else if .Error }}
Chyba: {{ .Error }} {{ end }} {{ if .Prefix }}
{{ .Description }}
{{ end }}
{{ else }}
{{ $count }} obal
{{ else if and (ge $count 2) (le $count 4) }}
{{ $count }} obaly
{{ else if gt $count 0 }}
{{ $count }} obalů
{{ end }}
{{ end }}
{{ .Prefix }}
{{ with $count := len .Containers }}
{{ if eq $count 1 }}
Nejsou žádné řady. {{ end }} {{ end }} {{ end }}