From 64912dffa4e0e9ab431b17978696319881e693a3 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 15 Dec 2022 17:47:55 +0800 Subject: [PATCH] fix issue --- templates/user/dashboard/feeds.tmpl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index 7789e04ea..afb1f0139 100755 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -12,7 +12,6 @@ {{else}} {{.ShortActUserName}} {{end}} - -=-=-={{.GetOpType}} {{if eq .GetOpType 1}} {{$.i18n.Tr "action.create_repo" .GetRepoLink .ShortRepoFullDisplayName | Str2html}} {{else if eq .GetOpType 2}} @@ -73,11 +72,9 @@ {{$.i18n.Tr "action.comment_pull" .GetRepoLink $index .ShortRepoPath | Str2html}} {{else if eq .GetOpType 24}} {{$.i18n.Tr "action.upload_dataset" .GetRepoLink .RefName | Str2html}} - - {{else if and (eq .GetOpType 25) (eq .GetOpType 39)}} - ----{{.GetRepoLink}} {{.Content}} + {{else if or (eq .GetOpType 25) (eq .GetOpType 39)}} {{$.i18n.Tr "action.task_gpudebugjob" .GetRepoLink .Content .RefName | Str2html}} - {{else if and (eq .GetOpType 26) (eq .GetOpType 40)}} + {{else if or (eq .GetOpType 26) (eq .GetOpType 40)}} {{$.i18n.Tr "action.task_npudebugjob" .GetRepoLink .Content .RefName | Str2html}} {{else if eq .GetOpType 27}} {{$.i18n.Tr "action.task_nputrainjob" .GetRepoLink .Content .RefName | Str2html}}