From 18508c5e011db11eac09804bf1720d444fd23f58 Mon Sep 17 00:00:00 2001 From: yan Date: Wed, 27 May 2020 10:40:11 +0800 Subject: [PATCH] shown download times when download times is not 0 --- custom/templates/datasets/dataset_list.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom/templates/datasets/dataset_list.tmpl b/custom/templates/datasets/dataset_list.tmpl index 0ec78c147..b96410093 100644 --- a/custom/templates/datasets/dataset_list.tmpl +++ b/custom/templates/datasets/dataset_list.tmpl @@ -36,7 +36,9 @@
{{svg "octicon-tasklist" 16}} {{.Task}} {{svg "octicon-tag" 16}}{{.Category}} - {{svg "octicon-flame" 16}} 24 + {{if ne .DownloadTimes 0}} + {{svg "octicon-flame" 16}} {{.DownloadTimes}} + {{end}}