From 436a93ddcb69adf844a60d51ded44bfb49977fdd Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Fri, 23 Sep 2022 17:22:01 +0800 Subject: [PATCH] fix issue --- templates/repo/datasets/index.tmpl | 2 -- templates/repo/modelarts/trainjob/show.tmpl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/repo/datasets/index.tmpl b/templates/repo/datasets/index.tmpl index eb7bcec21..b5ddff638 100755 --- a/templates/repo/datasets/index.tmpl +++ b/templates/repo/datasets/index.tmpl @@ -203,7 +203,6 @@ {{end}}
- {{if or (.dataset.Category) (.dataset.Task) (.dataset.License)}}
{{if .dataset.Category}} {{$category := .dataset.Category}} @@ -220,7 +219,6 @@ href="{{AppSubUrl}}/explore/datasets?sort={{$.SortType}}&q={{$.Keyword}}&tab={{$.TabName}}&category={{$.Category}}&task={{$.Task}}&license={{.dataset.License}}">{{.dataset.License}} {{end}}
- {{end}}
- +