diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/sklad/container.tmpl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cmd/sklad/container.tmpl b/cmd/sklad/container.tmpl index 5bb5123..3300a1f 100644 --- a/cmd/sklad/container.tmpl +++ b/cmd/sklad/container.tmpl @@ -22,7 +22,11 @@ <section> <header> - <h2>{{ .Container.Id }}</h2> + <h2>{{ .Container.Id }} +{{ range .Container.Path }} + <small>« <a href="/?id={{ . }}">{{ . }}</a></small> +{{ end }} + </h2> <form method=post action="/label?id={{ .Container.Id }}"> <input type=submit value="Vytisknout štítek"> </form> @@ -90,7 +94,11 @@ {{ range .Children }} <section> <header> - <h3><a href="/?id={{ .Id }}">{{ .Id }}</a></h3> + <h3><a href="/?id={{ .Id }}">{{ .Id }}</a> +{{ range .Path }} + <small>« <a href="/?id={{ . }}">{{ . }}</a></small> +{{ end }} + </h3> <form method=post action="/label?id={{ .Id }}"> <input type=submit value="Vytisknout štítek"> </form> |