diff --git a/templates/repo/debugjob/index.tmpl b/templates/repo/debugjob/index.tmpl index dfec442e9..d1c1bf9ff 100644 --- a/templates/repo/debugjob/index.tmpl +++ b/templates/repo/debugjob/index.tmpl @@ -342,12 +342,12 @@ {{$.i18n.Tr "repo.submit_image"}} {{end}} - + {{.CanDel}}
{{$.CsrfTokenHtml}} - {{if $.Permission.CanWrite $.UnitTypeCloudBrain}} + {{if .CanDel}} {{$.i18n.Tr "repo.delete"}}