|
@@ -571,7 +571,7 @@
|
|
|
|
|
|
data.forEach(log => {
|
|
|
const row = `<tr log_id="${log.id}">
|
|
|
- <td>版本:${log.version} <br /> ${log.created_at}</td>
|
|
|
+ <td>Version:${log.version} <br /> ${log.created_at}</td>
|
|
|
</tr>`;
|
|
|
tableBody.append(row);
|
|
|
});
|
|
@@ -625,8 +625,8 @@
|
|
|
var logId = $("#templateLogId").val();
|
|
|
var templateVersion = $("#templateVersion").val();
|
|
|
//确认框
|
|
|
- msg = '确定恢复'+templateVersion+'版本吗?';
|
|
|
- Dcat.confirm('确定恢复',msg , function () {
|
|
|
+ msg = 'Are you sure to restore to version: '+templateVersion+'?';
|
|
|
+ Dcat.confirm('Confirm Recovery',msg , function () {
|
|
|
loadingIndex = layer.load(1, {
|
|
|
shade: [0.5, '#000'] // 设置遮罩层
|
|
|
});
|
|
@@ -641,7 +641,7 @@
|
|
|
success: function(data) {
|
|
|
layer.close(loadingIndex);
|
|
|
if (data.status == '1') {
|
|
|
- Dcat.success('恢复成功');
|
|
|
+ Dcat.success('Recovery Successful');
|
|
|
//关闭弹窗
|
|
|
$('#templateLogModal').modal('hide');
|
|
|
//请空编辑器内容
|