feat(ui): update default standard workflow template

This commit is contained in:
Fu Diwei 2025-03-07 12:27:22 +08:00
parent 5ae460c922
commit 6ccbdeb89a
3 changed files with 6 additions and 3 deletions

View File

@ -196,6 +196,9 @@ export const initWorkflow = (options: InitWorkflowOptions = {}): WorkflowModel =
current.next = newNode(WorkflowNodeType.Deploy, {});
current = current.next;
current.next = newNode(WorkflowNodeType.ExecuteResultBranch, {});
current = current.next!.branches![1];
current.next = newNode(WorkflowNodeType.Notify, {});
}

View File

@ -16,7 +16,7 @@
"settings.password.form.password.errmsg.not_matched": "Passwords do not match",
"settings.notification.tab": "Notification",
"settings.notification.template.card.title": "Template",
"settings.notification.template.card.title": "Certificate expiration notification template",
"settings.notification.template.form.subject.label": "Subject",
"settings.notification.template.form.subject.placeholder": "Please enter notification subject",
"settings.notification.template.form.subject.extra": "Supported variables (${COUNT}: number of expiring soon)",

View File

@ -16,13 +16,13 @@
"settings.password.form.password.errmsg.not_matched": "两次密码不一致",
"settings.notification.tab": "消息推送",
"settings.notification.template.card.title": "通知模板",
"settings.notification.template.card.title": "证书过期通知模板(全局)",
"settings.notification.template.form.subject.label": "通知主题",
"settings.notification.template.form.subject.placeholder": "请输入通知主题",
"settings.notification.template.form.subject.extra": "支持的变量(${COUNT}: 即将过期张数)",
"settings.notification.template.form.message.label": "通知内容",
"settings.notification.template.form.message.placeholder": "请输入通知内容",
"settings.notification.template.form.message.extra": "支持的变量(${COUNT}: 即将过期张数;${DOMAINS}: 域名列表)",
"settings.notification.template.form.message.extra": "过期前 20 天发送通知。支持的变量(${COUNT}: 即将过期张数;${DOMAINS}: 域名列表)",
"settings.notification.channels.card.title": "通知渠道",
"settings.notification.channel.enabled.on": "启用",
"settings.notification.channel.enabled.off": "停用",