Browse Source

fix: add missing template files

pull/608/head
cKey 4 years ago
parent
commit
b908a908e1
  1. 37
      aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/en.tpl
  2. 38
      aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/zh-Hans.tpl
  3. 1
      aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/en.tpl
  4. 1
      aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/zh-Hans.tpl
  5. 1
      aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/en.tpl
  6. 1
      aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/zh-Hans.tpl
  7. 10
      aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/layout.tpl

37
aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/en.tpl

@ -0,0 +1,37 @@
<table width="95%" cellpadding="0" cellspacing="0" style="font-size: 11pt; font-family: Tahoma, Arial, Helvetica, sans-serif">
<tr>
<td>
<br /> <b><font color="#0B610B">{{ model.header }}</font></b>
<hr size="2" width="100%" align="center" />
</td>
</tr>
<tr>
<td>
<ul>
<li>Type &nbsp;:&nbsp;{{ model.type }}</li>
<li>Message &nbsp;:&nbsp;{{ model.message }}</li>
<li>Alarm level&nbsp;:&nbsp;{{ model.loglevel }}</li>
<li>TriggerTime&nbsp;:&nbsp;{{ creationTime }}</li>
</ul>
</td>
</tr>
<tr>
<td>
<b><font color="#0B610B">Stack trace</font></b>
<hr size="2" width="100%" align="center" />
</td>
</tr>
<tr>
<td>
<pre style="font-size: 11pt; font-family: Tahoma, Arial, Helvetica, sans-serif">{{ model.stackTrace }}</pre>
<br />
</td>
</tr>
<tr>
<td>
<br />
<b style="float: right"><font color="#0B610B">{{ model.footer }}</font></b>
<hr size="2" width="100%" align="center" />
</td>
</tr>
</table>

38
aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/ExceptionNotifier/zh-Hans.tpl

@ -0,0 +1,38 @@
<table width="95%" cellpadding="0" cellspacing="0" style="font-size: 11pt; font-family: Tahoma, Arial, Helvetica, sans-serif">
<tr>
<td>
<br /> <b><font color="#0B610B">{{ model.header }}</font></b>
<hr size="2" width="100%" align="center" />
</td>
</tr>
<tr>
<td>
<ul>
<li>异常类型&nbsp;:&nbsp;{{ model.title }}</li>
<li>异常信息&nbsp;:&nbsp;{{ model.message }}</li>
<li>告警级别&nbsp;:&nbsp;{{ model.loglevel }}</li>
<!-- 全局变量 creationTime -->
<li>触发时间&nbsp;:&nbsp;{{ creationTime }}</li>
</ul>
</td>
</tr>
<tr>
<td>
<b><font color="#0B610B">异常堆栈</font></b>
<hr size="2" width="100%" align="center" />
</td>
</tr>
<tr>
<td>
<pre style="font-size: 11pt; font-family: Tahoma, Arial, Helvetica, sans-serif">{{ model.stackTrace }}</pre>
<br />
</td>
</tr>
<tr>
<td>
<br />
<b style="float: right"><font color="#0B610B">{{ model.footer }}</font></b>
<hr size="2" width="100%" align="center" />
</td>
</tr>
</table>

1
aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/en.tpl

@ -0,0 +1 @@
<h3>A new tenant {{model.name}} has been created.</h3>

1
aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/NewTenantRegisterd/zh-Hans.tpl

@ -0,0 +1 @@
<h3>一个新的租户 {{model.name}} 已建立,切换租户开始! </h3>

1
aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/en.tpl

@ -0,0 +1 @@
<h3>{{model.name}}, Welcome to my application!</h3>

1
aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/WelcomeToApplication/zh-Hans.tpl

@ -0,0 +1 @@
<h3>{{model.name}}, 欢迎您的加入!</h3>

10
aspnet-core/modules/common/LINGYUN.Abp.Notifications.Common/LINGYUN/Abp/Notifications/Emailing/Templates/layout.tpl

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{title}}</title>
</head>
<body leftmargin="8" marginwidth="0" topmargin="8" marginheight="4" offset="0">
{{content}}
</body>
</html>
Loading…
Cancel
Save