From f5ea8a4710c8e714bff44d427c209f307ffc7456 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Tue, 7 Dec 2021 09:22:01 +0800 Subject: [PATCH] fix issue --- templates/repo/debugjob/index.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"}}