Browse Source

fix issue

tags/v1.22.7.1
zhoupzh 3 years ago
parent
commit
a986ea4faa
4 changed files with 11 additions and 1 deletions
  1. +1
    -0
      options/locale/locale_en-US.ini
  2. +1
    -1
      options/locale/locale_zh-CN.ini
  3. +4
    -0
      templates/repo/cloudbrain/trainjob/show.tmpl
  4. +5
    -0
      templates/repo/modelarts/trainjob/show.tmpl

+ 1
- 0
options/locale/locale_en-US.ini View File

@@ -997,6 +997,7 @@ image_delete_fail=Failed to delete image, please try again later.
image_overwrite=You had submitted the same name image before, are you sure to overwrite the original image? image_overwrite=You had submitted the same name image before, are you sure to overwrite the original image?
download=Download download=Download
score=Score score=Score
file_limit_100 = Display up to 100 files or folders in a single directory


images.name = Image Tag images.name = Image Tag
images.name_placerholder = Please enter the image name images.name_placerholder = Please enter the image name


+ 1
- 1
options/locale/locale_zh-CN.ini View File

@@ -997,7 +997,7 @@ image_delete_fail=删除镜像失败,请稍后再试。
image_overwrite=您已经提交过相同名称的镜像,您确定要覆盖原来提交的镜像吗? image_overwrite=您已经提交过相同名称的镜像,您确定要覆盖原来提交的镜像吗?
download=模型下载 download=模型下载
score=评分 score=评分
file_limit_100 = 单目录下最多显示100个文件或文件夹


images.name = 镜像Tag images.name = 镜像Tag
images.name_placerholder = 请输入镜像Tag images.name_placerholder = 请输入镜像Tag


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

@@ -474,6 +474,10 @@
<div id="dir_list{{.VersionName}}"> <div id="dir_list{{.VersionName}}">


</div> </div>
<div style="display:flex;align-items: center;justify-content: end;color: #f2711c;">
<i class="ri-error-warning-line" style="margin-right:0.5rem;"></i>
<span>{{$.i18n.Tr "repo.file_limit_100"}}</span>
</div>
</div> </div>


</div> </div>


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

@@ -525,6 +525,7 @@
data-version="{{.VersionName}}"></i> data-version="{{.VersionName}}"></i>
<div id="metric-{{.VersionName}}" style="height: 260px;width: 870px;"> <div id="metric-{{.VersionName}}" style="height: 260px;width: 870px;">
</div> </div>
</div> </div>
<div class="ui tab" data-tab="third{{$k}}"> <div class="ui tab" data-tab="third{{$k}}">
<input type="hidden" name="model{{.VersionName}}" value="-1"> <input type="hidden" name="model{{.VersionName}}" value="-1">
@@ -537,6 +538,10 @@
<div id="dir_list{{.VersionName}}"> <div id="dir_list{{.VersionName}}">


</div> </div>
<div style="display:flex;align-items: center;justify-content: end;color: #f2711c;">
<i class="ri-error-warning-line" style="margin-right:0.5rem;"></i>
<span>{{$.i18n.Tr "repo.file_limit_100"}}</span>
</div>
</div> </div>


</div> </div>


Loading…
Cancel
Save