From b908a908e18f70e6bd8353fa2d5e8ca1f7305e70 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Sat, 25 Jun 2022 18:20:39 +0800 Subject: [PATCH] fix: add missing template files --- .../Templates/ExceptionNotifier/en.tpl | 37 ++++++++++++++++++ .../Templates/ExceptionNotifier/zh-Hans.tpl | 38 +++++++++++++++++++ .../Templates/NewTenantRegisterd/en.tpl | 1 + .../Templates/NewTenantRegisterd/zh-Hans.tpl | 1 + .../Templates/WelcomeToApplication/en.tpl | 1 + .../WelcomeToApplication/zh-Hans.tpl | 1 + .../Emailing/Templates/layout.tpl | 10 +++++ 7 files changed, 89 insertions(+) create mode 100644 aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/en.tpl create mode 100644 aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/zh-Hans.tpl create mode 100644 aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/en.tpl create mode 100644 aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/zh-Hans.tpl create mode 100644 aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/en.tpl create mode 100644 aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/zh-Hans.tpl create mode 100644 aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/layout.tpl diff --git a/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/en.tpl b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/en.tpl new file mode 100644 index 000000000..96adba531 --- /dev/null +++ b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/en.tpl @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + +
+
{{ model.header }} +
+
+
    +
  • Type  : {{ model.type }}
  • +
  • Message  : {{ model.message }}
  • +
  • Alarm level : {{ model.loglevel }}
  • +
  • TriggerTime : {{ creationTime }}
  • +
+
+ Stack trace +
+
+
{{ model.stackTrace }}
+
+
+
+ {{ model.footer }} +
+
\ No newline at end of file diff --git a/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/zh-Hans.tpl b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/zh-Hans.tpl new file mode 100644 index 000000000..d722e6e6f --- /dev/null +++ b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/zh-Hans.tpl @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + +
+
{{ model.header }} +
+
+
    +
  • 异常类型 : {{ model.title }}
  • +
  • 异常信息 : {{ model.message }}
  • +
  • 告警级别 : {{ model.loglevel }}
  • + +
  • 触发时间 : {{ creationTime }}
  • +
+
+ 异常堆栈 +
+
+
{{ model.stackTrace }}
+
+
+
+ {{ model.footer }} +
+
\ No newline at end of file diff --git a/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/en.tpl b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/en.tpl new file mode 100644 index 000000000..7dc4cf5a8 --- /dev/null +++ b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/en.tpl @@ -0,0 +1 @@ +

A new tenant {{model.name}} has been created.

\ No newline at end of file diff --git a/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/zh-Hans.tpl b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/zh-Hans.tpl new file mode 100644 index 000000000..b00146366 --- /dev/null +++ b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/zh-Hans.tpl @@ -0,0 +1 @@ +

一个新的租户 {{model.name}} 已建立,切换租户开始!

\ No newline at end of file diff --git a/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/en.tpl b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/en.tpl new file mode 100644 index 000000000..5ef5dc0e7 --- /dev/null +++ b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/en.tpl @@ -0,0 +1 @@ +

{{model.name}}, Welcome to my application!

\ No newline at end of file diff --git a/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/zh-Hans.tpl b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/zh-Hans.tpl new file mode 100644 index 000000000..78c40dc93 --- /dev/null +++ b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/zh-Hans.tpl @@ -0,0 +1 @@ +

{{model.name}}, 欢迎您的加入!

\ No newline at end of file diff --git a/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/layout.tpl b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/layout.tpl new file mode 100644 index 000000000..bdd5d22d8 --- /dev/null +++ b/aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/layout.tpl @@ -0,0 +1,10 @@ + + + + + {{title}} + + + {{content}} + + \ No newline at end of file