From 37b7edb2efa819fe8b093157e9b26f671f390f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 15 Apr 2019 01:10:48 +0200 Subject: sklad: create, update, remove --- cmd/sklad/series.tmpl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cmd/sklad/series.tmpl') diff --git a/cmd/sklad/series.tmpl b/cmd/sklad/series.tmpl index 01e2539..0e31e0f 100644 --- a/cmd/sklad/series.tmpl +++ b/cmd/sklad/series.tmpl @@ -1,6 +1,20 @@ {{ 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 }}

{{ .Prefix }}

-- cgit v1.2.3