Browse Source

fix issue

tags/v1.22.7.1
zhoupzh 3 years ago
parent
commit
d8c53fd71c
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      templates/repo/modelarts/inferencejob/show.tmpl

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

@@ -454,7 +454,7 @@ td, th {
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>{{.CanModify}}
<span style="margin-left: 0.3rem;">{{$.i18n.Tr "repo.modelarts.download_log"}}</span>
</a>

</div>
@@ -507,7 +507,6 @@ td, th {
</div>
{{template "base/footer" .}}
<script>
console.log('{{.CanModify}}')
$(document).ready(function(){
$('.secondary.menu .item').tab();
});


Loading…
Cancel
Save