日志查询界面返回按钮修改国际化.

This commit is contained in:
zhangwenqing
2018-08-31 16:17:22 +08:00
parent e42fce5cb4
commit f61b78ee20
3 changed files with 5 additions and 4 deletions

View File

@@ -66,6 +66,7 @@
hasInvisibleChar:"The tag {0} has invisible character",
haveInvisibleChar:"The tags {0} have invisible character",
httpCheck:"Please enter a correct url(http[s]://xxx.xx)",
failed:"Failed"
failed:"Failed",
go_back:"Go Back Policies"
});
}(jQuery));

View File

@@ -66,7 +66,7 @@
hasInvisibleChar:"标签{0}包含不可见字符",
haveInvisibleChar:"标签{0}包含不可见字符",
httpCheck:"请输入正确的url(http[s]://xxx.xx)",
failed:"获取失败"
failed:"获取失败",
go_back:"返回配置界面"
});
}(jQuery));

View File

@@ -52,7 +52,7 @@ $(document).ready(function() {
// 添加由配置界面跳转到日志查询界面后的返回按钮
var cfgId = $("#cfgId").val();
if(cfgId != undefined && cfgId != ''){
$(".theme-panel").html("<button type='button' onclick='back()' class='btn btn-primary'>cancel</button>");
$(".theme-panel").html("<button type='button' onclick='back()' class='btn btn-primary'>"+$.validator.messages.go_back+"</button>");
}
});