Browse Source

fix issue

pull/2266/head
zhoupzh 3 years ago
parent
commit
c66ffc239a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/modelarts/trainjob/show.tmpl

+ 1
- 1
templates/repo/modelarts/trainjob/show.tmpl View File

@@ -487,7 +487,7 @@
<div class="ui tab" data-tab="second{{$k}}">
<div>

<a class='{{if eq .Status "KILLED" "FAILED" "START_FAILED" "STOPPED" "COMPLETED"}}ti-download-file{{else}}disabled{{end}}'
<a class='{{if and (.CanModify) (eq .Status "KILLED" "FAILED" "START_FAILED" "STOPPED" "COMPLETED") }}ti-download-file{{else}}disabled{{end}}'
href="{{$.RepoLink}}/modelarts/train-job/{{.JobID}}/download_log_file?version_name={{.VersionName}}">
<i class="ri-download-cloud-2-line"></i>
<span style="margin-left: 0.3rem;">{{$.i18n.Tr "repo.modelarts.download_log"}}</span>


Loading…
Cancel
Save