Browse Source

Merge pull request 'fix-bugs' (#3269) from fix-csh into V20221130

Reviewed-on: https://openi.pcl.ac.cn/OpenI/aiforge/pulls/3269
Reviewed-by: zhoupzh <zhoupzh@pcl.ac.cn>
tags/v1.22.11.3^2
zhoupzh 3 years ago
parent
commit
ccf6839deb
8 changed files with 9 additions and 2 deletions
  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>
<tr class="ti-no-ng-animate"> <tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80"> <td class="ti-no-ng-animate ti-text-form-label text-width80">
创建人
{{$.i18n.Tr "repo.cloudbrain_creator"}}
</td> </td>


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


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

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


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

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


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

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


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

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


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

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


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

@@ -833,6 +833,7 @@
$(`[vfield="Description"]`).text(res['Description'] || '--'); $(`[vfield="Description"]`).text(res['Description'] || '--');
$(`[vfield="Parameters"]`).text(res['Parameters'] || '--'); $(`[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']; var imageName = res['Image'] || res['EngineName'];
$(`[vimagetitle="Image"] span`).hide(); $(`[vimagetitle="Image"] span`).hide();


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

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


Loading…
Cancel
Save