diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index e7d730027..3013fcdaa 100755 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1036,6 +1036,7 @@ cloudbrain.time.starttime=Start run time cloudbrain.time.endtime=End run time cloudbrain.datasetdownload=Dataset download url model_manager = Model +model_experience = Model Experience model_noright=You have no right to do the operation. model_rename=Duplicate model name, please modify model name. diff --git a/options/locale/locale_zh-CN.ini b/options/locale/locale_zh-CN.ini index 972865484..e4abf5f11 100755 --- a/options/locale/locale_zh-CN.ini +++ b/options/locale/locale_zh-CN.ini @@ -1036,6 +1036,7 @@ datasets.desc=数据集功能 cloudbrain_helper=使用GPU/NPU资源,开启Notebook、模型训练任务等 model_manager = 模型 +model_experience = 模型体验 model_noright=您没有操作权限。 model_rename=模型名称重复,请修改模型名称 diff --git a/routers/user/notification.go b/routers/user/notification.go index 0fd6df007..d66e893a4 100644 --- a/routers/user/notification.go +++ b/routers/user/notification.go @@ -132,11 +132,11 @@ func getNotifications(c *context.Context) { } c.Data["Title"] = c.Tr("notifications") - //c.Data["Keyword"] = keyword + c.Data["Type"] = keyword c.Data["Status"] = status c.Data["Notifications"] = notifications - pager.SetDefaultParams(c) + pager.AddParam(c, "q", "Type") c.Data["Page"] = pager } diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index f9908f6f0..50521516f 100755 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -38,7 +38,7 @@ {{.i18n.Tr "repo.model_manager"}} diff --git a/templates/base/head_navbar_fluid.tmpl b/templates/base/head_navbar_fluid.tmpl index 010568e8d..b2fd60787 100644 --- a/templates/base/head_navbar_fluid.tmpl +++ b/templates/base/head_navbar_fluid.tmpl @@ -38,7 +38,7 @@ {{.i18n.Tr "repo.model_manager"}}