From 9a5db6edb84377ccc7beb2eb387b6f5963c9ec67 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Wed, 7 Dec 2022 11:48:57 +0800 Subject: [PATCH] fix issue --- templates/repo/modelarts/notebook/show.tmpl | 25 ++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/templates/repo/modelarts/notebook/show.tmpl b/templates/repo/modelarts/notebook/show.tmpl index d68fbdf60..3671f4771 100755 --- a/templates/repo/modelarts/notebook/show.tmpl +++ b/templates/repo/modelarts/notebook/show.tmpl @@ -241,7 +241,30 @@ {{end}} - + + + + + + + + + + + + + + + + {{end}} + +
{{$.i18n.Tr "dataset.file"}}{{$.i18n.Tr "dataset.download_url"}}{{$.i18n.Tr "dataset.download_oper"}}
+ {{if eq $.modelDownload.IsDelete true}} + {{$.modelDownload.Name}}({{$.i18n.Tr "dataset.file_deleted"}}) + {{else}} + {{$.modelDownload.Name}} + {{end}} +
{{$.modelDownload.DownloadLink}}
{{if $.modelDownload.DownloadLink}}{{$.i18n.Tr "dataset.download_copy"}}{{end}}