diff --git a/templates/repo/debugjob/index.tmpl b/templates/repo/debugjob/index.tmpl index a50c35eda..dcededd33 100755 --- a/templates/repo/debugjob/index.tmpl +++ b/templates/repo/debugjob/index.tmpl @@ -388,7 +388,7 @@
- {{if .CanDel}} + {{if .CanDebug}} {{$.i18n.Tr "repo.submit_image"}} {{else}} {{$.i18n.Tr "repo.submit_image"}} @@ -396,7 +396,7 @@
- {{if .CanDel}} + {{if .CanDebug}} {{$.i18n.Tr "repo.download"}} {{else}} {{$.i18n.Tr "repo.download"}}