You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/11/25 03:01:21 UTC
[incubator-streampark] 01/01: [improve] notify message improvement
This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch notify
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
commit 1a8b2dd7894e896c657b40f55403bbe909dfd9c9
Author: benjobs <be...@apache.org>
AuthorDate: Fri Nov 25 11:01:04 2022 +0800
[improve] notify message improvement
---
.../src/main/resources/alert-template/alert-dingTalk.ftl | 4 ++--
.../src/main/resources/alert-template/alert-email.ftl | 13 +++++++------
.../src/main/resources/alert-template/alert-lark.ftl | 4 ++--
.../src/main/resources/alert-template/alert-weCom.ftl | 4 ++--
4 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-dingTalk.ftl b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-dingTalk.ftl
index 24f9ea7b0..14e30170b 100644
--- a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-dingTalk.ftl
+++ b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-dingTalk.ftl
@@ -1,10 +1,10 @@
-> StreamPark , Make stream processing easier!
+> Apache StreamPark , Make stream processing easier!
# ${subject}
### **Dear StreamPark user:**
-> **I'm sorry to inform you that something wrong with your task**
+> ** Oops! I'm sorry to inform you that something wrong with your app **
- **Job Name:${jobName}**
<#if type == 1 >
- **Job Status:${status}**
diff --git a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-email.ftl b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-email.ftl
index ac4d5d432..3cb0a9323 100644
--- a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-email.ftl
+++ b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-email.ftl
@@ -762,7 +762,7 @@
style="padding: 5px 20px; font-family: Arial, Helvetica, sans-serif; font-size: 1em; font-weight: 400; color: rgb(222,222,222); text-align: left;"
class="tblCell">
<div style="line-height: 150%; text-align: center;">
- <span style="font-size: 1rem; font-family: Tahoma, Arial, Helvetica, sans-serif; color: #f0f0f0; line-height: 150%;">StreamPark , Make stream processing easier!</span>
+ <span style="font-size: 1rem; font-family: Tahoma, Arial, Helvetica, sans-serif; color: #f0f0f0; line-height: 150%;">Apache StreamPark , Make stream processing easier!</span>
</div>
<br>
<div style="line-height: 150%; text-align: center;">
@@ -839,11 +839,12 @@
<tr>
<td colspan="2">
<br>
- <p style="margin: 0 0 1em;">Dear StreamPark
- user:</p>
- <p style="margin: 0 1em 1em;">I'm sorry to
- inform you that something wrong with your
- task</p>
+ <p style="margin: 0 0 1em;">
+ Dear StreamPark user:
+ </p>
+ <p style="margin: 0 1em 1em;">
+ Oops! I'm sorry to inform you that something wrong with your app
+ </p>
<br>
</td>
</tr>
diff --git a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-lark.ftl b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-lark.ftl
index 08f8ad712..2f7171fd7 100644
--- a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-lark.ftl
+++ b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-lark.ftl
@@ -8,7 +8,7 @@
"elements": [
{
"tag": "plain_text",
- "content": "StreamPark , Make stream processing easier!"
+ "content": "Apache StreamPark , Make stream processing easier!"
}
]
},
@@ -21,7 +21,7 @@
"elements": [
{
"tag": "plain_text",
- "content": "I'm sorry to inform you that something wrong with your task"
+ "content": "Oops! I'm sorry to inform you that something wrong with your app"
}
]
},
diff --git a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-weCom.ftl b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-weCom.ftl
index 78d45c7aa..7d863c15d 100644
--- a/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-weCom.ftl
+++ b/streampark-console/streampark-console-service/src/main/resources/alert-template/alert-weCom.ftl
@@ -1,10 +1,10 @@
-> StreamPark , Make stream processing easier!
+> Apache StreamPark , Make stream processing easier!
# ${subject}
### **Dear StreamPark user:**
-`I'm sorry to inform you that something wrong with your task`
+`Oops! I'm sorry to inform you that something wrong with your app`
- **Job Name:${jobName}**
<#if type == 1 >