Browse Source

fix issue

pull/2519/head
zhoupzh 2 years ago
parent
commit
d2e9e7de85
5 changed files with 15 additions and 10 deletions
  1. +3
    -3
      templates/repo/cloudbrain/inference/show.tmpl
  2. +7
    -2
      templates/repo/cloudbrain/trainjob/show.tmpl
  3. +1
    -1
      templates/repo/grampus/trainjob/show.tmpl
  4. +3
    -3
      templates/repo/modelarts/inferencejob/show.tmpl
  5. +1
    -1
      templates/repo/modelarts/trainjob/show.tmpl

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

@@ -317,9 +317,9 @@
<span style="font-size: 12px;" class="">
{{if not (eq .StartTime 0)}}
{{TimeSinceUnix1 .StartTime}}
{{else}}
{{TimeSinceUnix1 .CreatedUnix}}
{{end}}
{{else}}
--
{{end}}
</span>
</div>
</td>


+ 7
- 2
templates/repo/cloudbrain/trainjob/show.tmpl View File

@@ -326,8 +326,13 @@

<td class="ti-text-form-content">
<div class="text-span text-span-w">
<span style="font-size: 12px;"
class="">{{TimeSinceUnix1 .StartTime}}</span>
<span style="font-size: 12px;">
{{if not (eq .StartTime 0)}}
{{TimeSinceUnix1 .StartTime}}
{{else}}
--
{{end}}
</span>
</div>
</td>
</tr>


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

@@ -345,7 +345,7 @@
{{if not (eq .StartTime 0)}}
{{TimeSinceUnix1 .StartTime}}
{{else}}
{{TimeSinceUnix1 .CreatedUnix}}
--
{{end}}</span>
</div>
</td>


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

@@ -266,9 +266,9 @@ td, th {
<span style="font-size: 12px;" class="">
{{if not (eq .StartTime 0)}}
{{TimeSinceUnix1 .StartTime}}
{{else}}
{{TimeSinceUnix1 .CreatedUnix}}
{{end}}
{{else}}
--
{{end}}
</span>
</div>
</td>


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

@@ -377,7 +377,7 @@
{{if not (eq .Cloudbrain.StartTime 0)}}
{{TimeSinceUnix1 .Cloudbrain.StartTime}}
{{else}}
{{TimeSinceUnix1 .Cloudbrain.CreatedUnix}}
--
{{end}}</span>
</div>
</td>


Loading…
Cancel
Save