diff --git a/templates/repo/debugjob/index.tmpl b/templates/repo/debugjob/index.tmpl index 33ba73076..8779eb5a1 100755 --- a/templates/repo/debugjob/index.tmpl +++ b/templates/repo/debugjob/index.tmpl @@ -321,8 +321,8 @@
{{$.CsrfTokenHtml}} {{if .CanDebug}} - {{if eq .Status "RUNNING"}} - + {{if eq .Status "RUNNING" "WAITING" "CREATING" "STARTING"}} + {{$.i18n.Tr "repo.debug"}} {{else}} @@ -553,6 +553,7 @@ $('#' + JobID+ '-text').text(res.status) $('#model-debug-'+JobID).removeClass('blue').addClass('disabled') $('#model-delete-'+JobID).removeClass('blue').addClass('disabled') + $('#model-debug-'+JobID).text("调试").css("margin","0 1rem") } }else{ $('.alert').html(res.error_msg).removeClass('alert-success').addClass('alert-danger').show().delay(2000).fadeOut();