aboutsummaryrefslogtreecommitdiff
path: root/sklad/label.tmpl
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-14 21:25:21 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-14 21:25:21 +0200
commitea45784554bb02a107b6fdbcd8a352ff1197e08f (patch)
tree8d8e2f7c8e50915b905abbc9eb052d74132f1dbf /sklad/label.tmpl
parent4dade55387515e3ed153a5901672abdfb7f3654f (diff)
downloadsklad-ea45784554bb02a107b6fdbcd8a352ff1197e08f.tar.gz
sklad-ea45784554bb02a107b6fdbcd8a352ff1197e08f.tar.xz
sklad-ea45784554bb02a107b6fdbcd8a352ff1197e08f.zip
sklad: import label printing capability from label-tool
Diffstat (limited to 'sklad/label.tmpl')
-rw-r--r--sklad/label.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/sklad/label.tmpl b/sklad/label.tmpl
new file mode 100644
index 0000000..da17c58
--- /dev/null
+++ b/sklad/label.tmpl
@@ -0,0 +1,13 @@
+{{ define "Title" }}Tisk štítku{{ end }}
+{{ define "Content" }}
+<h2>Tisk štítku pro {{ .Id }}</h2>
+
+{{ if .UnknownId }}
+<p>Neznámý obal.
+{{ else if .Error }}
+<p>Tisk selhal: {{ .Error }}
+{{ else }}
+<p>Tisk proběhl úspěšně.
+{{ end }}
+
+{{ end }}