From 13fe2ad4b299e5cd0f42d18fd34480914017a732 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 9 Jun 2022 10:20:02 +0800 Subject: [PATCH] fix issue --- templates/repo/datasets/index.tmpl | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/templates/repo/datasets/index.tmpl b/templates/repo/datasets/index.tmpl index 8e2c98a4e..a1feb4310 100755 --- a/templates/repo/datasets/index.tmpl +++ b/templates/repo/datasets/index.tmpl @@ -283,18 +283,19 @@   {{$.i18n.Tr "dataset.download"}}:{{.DownloadCount}} {{if .Description}}  {{$.i18n.Tr "dataset.description"}}:{{.Description}}{{end}} -
- {{.DecompressState}} {{if eq .DecompressState 1}} {{else if eq .DecompressState 0}} - {{else}} + {{else if eq .DecompressState 2}} + {{else}} + {{end}} {{.Name}} @@ -327,18 +328,6 @@ {{.CreatedUnix | TimeSinceUnix1}}
-
{{$.i18n.Tr "dataset.download"}} @@ -355,11 +344,6 @@ @click="setPrivate('{{.UUID}}',true,{{$k}})" v-else="privates[{{$k}}]">{{$.i18n.Tr "dataset.set_private"}} {{end}} - @@ -368,7 +352,6 @@ {{$.i18n.Tr "dataset.copy_url"}} - {{if and ($.CanWrite) (eq .DecompressState 1) }} {{$.i18n.Tr "dataset.annotation"}}