diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index ee9fa4877..4ccc68bbe 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -828,6 +828,7 @@ modify_dataset_description = Modify Dataset Description search_dataset = Search Dataset Files unzip_tooltips = If it has not been decompressed for a long time, please check whether the compressed package has encrypted files or file errors zip_failed = Decompression failed, please check whether the compressed package is encrypted or contact technical support +dataset_desc = The description should not exceed 1024 characters [repo] owner = Owner repo_name = Repository Name diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index bc802734b..ce3ce847e 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -832,6 +832,7 @@ modify_dataset_description = 修改数据集文件描述 search_dataset = 搜索数据集文件 unzip_tooltips = 如果长时间未解压,请检查压缩包是否有加密文件或者文件错误 zip_failed = 解压失败,请检查压缩包是否有加密或者联系技术支持人员。 +dataset_desc = 描述字数不超过1024个字符 [repo] owner=拥有者 diff --git a/templates/custom/select_dataset.tmpl b/templates/custom/select_dataset.tmpl index 1b0871f03..e3f9277ba 100644 --- a/templates/custom/select_dataset.tmpl +++ b/templates/custom/select_dataset.tmpl @@ -1,24 +1,6 @@ - + -
+
@@ -39,7 +21,7 @@
${dataset.Repo.OwnerName}/${dataset.Repo.Alias} ${dataset.Name}
- + ${dataset.Description} @@ -65,7 +47,7 @@
${dataset.Repo.OwnerName}/${dataset.Repo.Alias}${dataset.Name}
- + ${dataset.Description} @@ -90,7 +72,7 @@
${dataset.Repo.OwnerName}/${dataset.Repo.Alias}${dataset.Name}
- + ${dataset.Description} @@ -115,7 +97,7 @@
${dataset.Repo.OwnerName}/${dataset.Repo.Alias}${dataset.Name}
- + ${dataset.Description} diff --git a/templates/repo/attachment/edit.tmpl b/templates/repo/attachment/edit.tmpl index b8734c86b..b923be77e 100644 --- a/templates/repo/attachment/edit.tmpl +++ b/templates/repo/attachment/edit.tmpl @@ -28,7 +28,7 @@ {{.Attachment.Name}} - + 确定 diff --git a/templates/repo/attachment/upload.tmpl b/templates/repo/attachment/upload.tmpl index 81ce7963e..d617e07a6 100644 --- a/templates/repo/attachment/upload.tmpl +++ b/templates/repo/attachment/upload.tmpl @@ -18,7 +18,7 @@ - + diff --git a/templates/repo/datasets/create.tmpl b/templates/repo/datasets/create.tmpl index bd2a4136d..a65a5f351 100644 --- a/templates/repo/datasets/create.tmpl +++ b/templates/repo/datasets/create.tmpl @@ -32,7 +32,7 @@ - + diff --git a/templates/repo/datasets/edit.tmpl b/templates/repo/datasets/edit.tmpl index 6de84a4c9..2c0577eb6 100644 --- a/templates/repo/datasets/edit.tmpl +++ b/templates/repo/datasets/edit.tmpl @@ -36,7 +36,7 @@ - + diff --git a/templates/repo/modelarts/notebook/new.tmpl b/templates/repo/modelarts/notebook/new.tmpl index e8b02e8f7..3c78874eb 100755 --- a/templates/repo/modelarts/notebook/new.tmpl +++ b/templates/repo/modelarts/notebook/new.tmpl @@ -156,4 +156,5 @@ } }); }); + console.log({{.cloudbraintype}}) \ No newline at end of file