From 77e653404025944247b5c0eadc2ec243f0b2e941 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 15 Dec 2022 17:43:59 +0800 Subject: [PATCH] fix issue --- templates/user/dashboard/feeds.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/user/dashboard/feeds.tmpl b/templates/user/dashboard/feeds.tmpl index b6c48140b..7789e04ea 100755 --- a/templates/user/dashboard/feeds.tmpl +++ b/templates/user/dashboard/feeds.tmpl @@ -12,6 +12,7 @@ {{else}} {{.ShortActUserName}} {{end}} + -=-=-={{.GetOpType}} {{if eq .GetOpType 1}} {{$.i18n.Tr "action.create_repo" .GetRepoLink .ShortRepoFullDisplayName | Str2html}} {{else if eq .GetOpType 2}} @@ -72,7 +73,7 @@ {{$.i18n.Tr "action.comment_pull" .GetRepoLink $index .ShortRepoPath | Str2html}} {{else if eq .GetOpType 24}} {{$.i18n.Tr "action.upload_dataset" .GetRepoLink .RefName | Str2html}} - {{.GetOpType}} + {{else if and (eq .GetOpType 25) (eq .GetOpType 39)}} ----{{.GetRepoLink}} {{.Content}} {{$.i18n.Tr "action.task_gpudebugjob" .GetRepoLink .Content .RefName | Str2html}}