From df4a0308435526169ec09a7173ed45fe400a9aaf Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 1 Jan 2017 23:46:36 +0000 Subject: [PATCH] fix download buttons Former-commit-id: a3c2f0a79d2c763780f81790cc0b3d3e7595d47e --- _embed/templates/base.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/_embed/templates/base.tmpl b/_embed/templates/base.tmpl index c33ea58f..3a6130ec 100644 --- a/_embed/templates/base.tmpl +++ b/_embed/templates/base.tmpl @@ -55,8 +55,8 @@
  • {{ $item.Name }}
  • {{- end }} - {{- end }} + {{- end }}

    {{ if ne .Name "/"}}{{ .Name }}{{ else }}Root{{ end }}

    @@ -118,8 +118,11 @@ {{- end }} -
    +
    + {{- if not .IsDir}}{{ end }} file_downloadDownload + {{- if not .IsDir}}{{ end }} + {{- if .IsDir }}