Browse Source

fix issue

tags/v1.22.7.1
zhoupzh 3 years ago
parent
commit
1682aa228a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/repo/cloudbrain/inference/show.tmpl
  2. +1
    -1
      templates/user/dashboard/cloudbrains.tmpl

+ 1
- 1
templates/repo/cloudbrain/inference/show.tmpl View File

@@ -370,7 +370,7 @@

<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-creator">
{{$.userName}}
{{.User.Name}}
</div>
</td>
</tr>


+ 1
- 1
templates/user/dashboard/cloudbrains.tmpl View File

@@ -113,7 +113,7 @@
<div class="two wide column text center nowrap"
style="padding-left: 2.2rem !important; width: 11% !important;">
<span class="job-status" id="{{$JobID}}"
data-repopath='{{.Repo.OwnerName}}/{{.Repo.Name}}{{if eq .JobType "DEBUG"}}{{if eq .ComputeResource "CPU/GPU"}}/cloudbrain{{else}}/modelarts/notebook{{end}}{{else if eq .JobType "INFERENCE"}}/modelarts/inference-job{{else if eq .JobType "TRAIN"}}{{if eq .ComputeResource "NPU"}}/modelarts/train-job{{else}}/cloudbrain/train-job{{end}}{{else if eq .JobType "BENCHMARK"}}/cloudbrain{{end}}'
data-repopath='{{.Repo.OwnerName}}/{{.Repo.Name}}{{if eq .JobType "DEBUG"}}{{if eq .ComputeResource "CPU/GPU"}}/cloudbrain{{else}}/modelarts/notebook{{end}}{{else if eq .JobType "INFERENCE"}}{{if eq .ComputeResource "CPU/GPU"}}/cloudbrain{{else}}/modelarts{{end}}/inference-job{{else if eq .JobType "TRAIN"}}{{if eq .ComputeResource "NPU"}}/modelarts/train-job{{else}}/cloudbrain/train-job{{end}}{{else if eq .JobType "BENCHMARK"}}/cloudbrain{{end}}'
data-jobid="{{$JobID}}" data-version="{{.VersionName}}">
<span><i id="{{$JobID}}-icon" style="vertical-align: middle;"
class="{{.Status}}"></i><span id="{{$JobID}}-text"


Loading…
Cancel
Save