diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index bec5000e1..1d1d9ab0f 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -967,6 +967,8 @@ cloudbrain.exitinfo=退出信息 cloudbrain.platform=平台 cloudbrain.endtime=结束时间 cloudbrain.runinfo=任务运行简况 +cloudbrain.time.starttime=开始运行时间 +cloudbrain.time.endtime=结束运行时间 record_begintime_get_err=无法获取统计开始时间。 parameter_is_wrong=输入参数错误,请检查输入参数。 total_count_get_error=查询总页数失败。 diff --git a/templates/repo/cloudbrain/show.tmpl b/templates/repo/cloudbrain/show.tmpl index 94e3dd4a5..34104f3c7 100755 --- a/templates/repo/cloudbrain/show.tmpl +++ b/templates/repo/cloudbrain/show.tmpl @@ -271,7 +271,7 @@ td, th { - 计算资源 + {{$.i18n.Tr "repo.modelarts.computing_resources"}}
@@ -281,7 +281,7 @@ td, th { - 任务类型 + {{$.i18n.Tr "cloudbrain.task_type"}}
@@ -300,32 +300,39 @@ td, th {
+ + + {{$.i18n.Tr "repo.cloudbrain.time.starttime"}} + - - - 创建时间 - - - -
- - {{TimeSinceUnix1 .CreatedUnix}} - -
- - - - - {{$.i18n.Tr "repo.modelarts.train_job.dura_time"}} - + +
+ {{if not (eq .StartTime 0)}} + {{TimeSinceUnix1 .StartTime}} + {{else}} + -- + {{end}} +
+ + + + + + {{$.i18n.Tr "repo.cloudbrain.time.endtime"}} + - -
- {{$.duration}} -
- - + +
+ {{if not (eq .EndTime 0)}} + {{TimeSinceUnix1 .EndTime}} + {{else}} + -- + {{end}} +
+ + + @@ -401,38 +408,19 @@ td, th {
- - - - 开始运行时间 - - -
- {{if not (eq .StartTime 0)}} - {{TimeSinceUnix1 .StartTime}} - {{else}} - -- - {{end}} -
- - - - + - 结束运行时间 + {{$.i18n.Tr "repo.modelarts.train_job.dura_time"}} -
- {{if not (eq .EndTime 0)}} - {{TimeSinceUnix1 .EndTime}} - {{else}} - -- - {{end}} +
+ {{$.duration}}
+