#3269 fix-bugs

Merged
zhoupzh merged 4 commits from fix-csh into V20221130 1 year ago
  1. +2
    -1
      templates/repo/cloudbrain/inference/show.tmpl
  2. +1
    -0
      templates/repo/cloudbrain/show.tmpl
  3. +1
    -0
      templates/repo/cloudbrain/trainjob/show.tmpl
  4. +1
    -0
      templates/repo/grampus/trainjob/show.tmpl
  5. +1
    -0
      templates/repo/modelarts/inferencejob/show.tmpl
  6. +1
    -0
      templates/repo/modelarts/trainjob/show.tmpl
  7. +1
    -0
      templates/repo/modelsafety/show.tmpl
  8. +1
    -1
      web_src/vuepages/langs/config/en-US.js

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

@@ -362,7 +362,7 @@
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
创建人
{{$.i18n.Tr "repo.cloudbrain_creator"}}
</td>

<td class="ti-text-form-content">
@@ -444,6 +444,7 @@
<td class="ti-text-form-content">
<div class="text-span text-span-w">
{{.BranchName}}
<span style="margin-left:1rem" class="ui label">{{SubStr .CommitID 0 10}}</span>
</div>
</td>
</tr>


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

@@ -337,6 +337,7 @@
<td class="ti-text-form-content">
<div class="text-span text-span-w" id="{{.VersionName}}-code">
{{.BranchName}}
<span style="margin-left:1rem" class="ui label">{{SubStr .CommitID 0 10}}</span>
</div>
</td>
</tr>


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

@@ -410,6 +410,7 @@
<td class="ti-text-form-content">
<div class="text-span text-span-w">
{{.BranchName}}
<span style="margin-left:1rem" class="ui label">{{SubStr .CommitID 0 10}}</span>
</div>
</td>
</tr>


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

@@ -422,6 +422,7 @@
<td class="ti-text-form-content">
<div class="text-span text-span-w">
{{.BranchName}}
<span style="margin-left:1rem" class="ui label">{{SubStr .CommitID 0 10}}</span>
</div>
</td>
</tr>


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

@@ -388,6 +388,7 @@ td, th {
<td class="ti-text-form-content">
<div class="text-span text-span-w">
{{.BranchName}}
<span style="margin-left:1rem" class="ui label">{{SubStr .CommitID 0 10}}</span>
</div>
</td>
</tr>


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

@@ -442,6 +442,7 @@
<td class="ti-text-form-content">
<div class="text-span text-span-w">
{{.BranchName}}
<span style="margin-left:1rem" class="ui label">{{SubStr .CommitID 0 10}}</span>
</div>
</td>
</tr>


+ 1
- 0
templates/repo/modelsafety/show.tmpl View File

@@ -833,6 +833,7 @@
$(`[vfield="Description"]`).text(res['Description'] || '--');
$(`[vfield="Parameters"]`).text(res['Parameters'] || '--');
$(`[vfield="BranchName"]`).html(res['BranchName'] + '<span style="margin-left:1rem" class="ui label">' + res['CommitID'].slice(0, 10) + '</span>');

var imageName = res['Image'] || res['EngineName'];
$(`[vimagetitle="Image"] span`).hide();


+ 1
- 1
web_src/vuepages/langs/config/en-US.js View File

@@ -200,7 +200,7 @@ const en = {
local: 'Local',
online: 'Online',
createModel: 'Create Model',
importLocalModel: 'Import Lacal Model',
importLocalModel: 'Import Local Model',
importOnlineModel: 'Import Online Model',
modifyModelInfo: 'Modify model information',
addModelFiles: 'Add model files',


Loading…
Cancel
Save