From 1331f3b5642f521236fcb1ec21ee43d5b76c0b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 14 Apr 2019 22:30:40 +0200 Subject: Move commands under cmd/ --- cmd/sklad/series.tmpl | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 cmd/sklad/series.tmpl (limited to 'cmd/sklad/series.tmpl') diff --git a/cmd/sklad/series.tmpl b/cmd/sklad/series.tmpl new file mode 100644 index 0000000..4956e3a --- /dev/null +++ b/cmd/sklad/series.tmpl @@ -0,0 +1,43 @@ +{{ define "Title" }}{{ or .Prefix "Řady" }}{{ end }} +{{ define "Content" }} + +{{ if .Prefix }} +

{{ .Prefix }}

+ +{{ if .Description }} +

{{ .Description }} +{{ end }} +{{ else }} + +

+
+
+

Nová řada

+ + + +
+ +
+ +{{ range $prefix, $desc := .AllSeries }} +
+
+

{{ $prefix }}

+
+ +
+
+ +
+
+
+{{ else }} +

Nejsou žádné řady. +{{ end }} + +{{ end }} + +{{ end }} -- cgit v1.2.3