Browse Source

fix issue

tags/v1.22.12.1^2
zhoupzh 3 years ago
parent
commit
64912dffa4
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      templates/user/dashboard/feeds.tmpl

+ 2
- 5
templates/user/dashboard/feeds.tmpl View File

@@ -12,7 +12,6 @@
{{else}} {{else}}
{{.ShortActUserName}} {{.ShortActUserName}}
{{end}} {{end}}
-=-=-={{.GetOpType}}
{{if eq .GetOpType 1}} {{if eq .GetOpType 1}}
{{$.i18n.Tr "action.create_repo" .GetRepoLink .ShortRepoFullDisplayName | Str2html}} {{$.i18n.Tr "action.create_repo" .GetRepoLink .ShortRepoFullDisplayName | Str2html}}
{{else if eq .GetOpType 2}} {{else if eq .GetOpType 2}}
@@ -73,11 +72,9 @@
{{$.i18n.Tr "action.comment_pull" .GetRepoLink $index .ShortRepoPath | Str2html}} {{$.i18n.Tr "action.comment_pull" .GetRepoLink $index .ShortRepoPath | Str2html}}
{{else if eq .GetOpType 24}} {{else if eq .GetOpType 24}}
{{$.i18n.Tr "action.upload_dataset" .GetRepoLink .RefName | Str2html}} {{$.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}} {{$.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}} {{$.i18n.Tr "action.task_npudebugjob" .GetRepoLink .Content .RefName | Str2html}}
{{else if eq .GetOpType 27}} {{else if eq .GetOpType 27}}
{{$.i18n.Tr "action.task_nputrainjob" .GetRepoLink .Content .RefName | Str2html}} {{$.i18n.Tr "action.task_nputrainjob" .GetRepoLink .Content .RefName | Str2html}}


Loading…
Cancel
Save