Browse Source

国际化修改。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.12.1^2
zouap 3 years ago
parent
commit
6e0d31720f
3 changed files with 35 additions and 1 deletions
  1. +17
    -0
      templates/repo/cloudbrain/trainjob/show.tmpl
  2. +17
    -0
      templates/repo/modelarts/trainjob/show.tmpl
  3. +1
    -1
      web_src/vuepages/pages/modelmanage/common/modelmanage-common-detail.vue

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

@@ -647,6 +647,23 @@
<input style="width: 83%;margin-left: 7px;" id="label" name="label" maxlength="255"
placeholder='{{.i18n.Tr "repo.modelarts.train_job.label_place"}}'>
</div>
<div class="inline fields">
<div class="two wide field right aligned">
<label>{{.i18n.Tr "repo.model.manage.modelaccess"}} &nbsp</label>
</div>
<div class="field">
<div class="ui radio checkbox">
<input type="radio" name="isPrivate" checked="checked" value="false">
<label>{{.i18n.Tr "repo.model.manage.modelaccess.public"}}</label>
</div>
</div>
<div class="field">
<div class="ui radio checkbox">
<input type="radio" name="isPrivate" value="true">
<label>{{.i18n.Tr "repo.model.manage.modelaccess.private"}}</label>
</div>
</div>
</div>
<div class="inline field">
<label for="description">{{.i18n.Tr "repo.model.manage.modeldesc"}}</label>
<textarea style="width: 83%;margin-left: 7px;" id="description" name="description" rows="3"


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

@@ -703,6 +703,23 @@
<input style="width: 83%;margin-left: 7px;" id="label" name="label" maxlength="255"
placeholder='{{.i18n.Tr "repo.modelarts.train_job.label_place"}}'>
</div>
<div class="inline fields">
<div class="two wide field right aligned">
<label>{{.i18n.Tr "repo.model.manage.modelaccess"}} &nbsp</label>
</div>
<div class="field">
<div class="ui radio checkbox">
<input type="radio" name="isPrivate" checked="checked" value="false">
<label>{{.i18n.Tr "repo.model.manage.modelaccess.public"}}</label>
</div>
</div>
<div class="field">
<div class="ui radio checkbox">
<input type="radio" name="isPrivate" value="true">
<label>{{.i18n.Tr "repo.model.manage.modelaccess.private"}}</label>
</div>
</div>
</div>
<div class="inline field">
<label for="description">{{.i18n.Tr "repo.model.manage.modeldesc"}}</label>
<textarea style="width: 83%;margin-left: 7px;" id="description" name="description" rows="3"


+ 1
- 1
web_src/vuepages/pages/modelmanage/common/modelmanage-common-detail.vue View File

@@ -52,7 +52,7 @@
</div>
</div>
<div class="row">
<div class="tit">{{ $t('modelManage.isPrivate') }}:</div>
<div class="tit">{{ $t('modelManage.modelAccess') }}:</div>
<div class="val">
<div class="txt-wrap">{{ state.isPrivate }}</div>
</div>


Loading…
Cancel
Save