chore: modify the name in the notification template (#4703)

pull/4708/head v2.10.0
guqing 2023-10-10 12:21:51 +08:00 committed by GitHub
parent 63be25173d
commit 72e5cf293c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -148,7 +148,7 @@ public class EmailNotifier implements ReactiveNotifier {
<div class="footer" style="font-size: 12px; color: #666;">
<a th:href="${site.url}" th:text="${site.title}"></a>
<p class="unsubscribe">
&mdash;<br />
&mdash;<br />
<a th:href="|${site.url}/console/users/-/notifications|"></a>
<a th:href="${unsubscribeUrl}"></a>

View File

@ -7,11 +7,11 @@ spec:
reasonType: new-comment-on-post
language: default
template:
title: "[(${commenter})] 评论了的文章《[(${postTitle})]》"
title: "[(${commenter})] 评论了的文章《[(${postTitle})]》"
rawBody: |
[(${subscriber.displayName})] 你好:
[(${commenter})] 评论了的文章 《[(${postTitle})]》,以下是评论的具体内容:
[(${commenter})] 评论了的文章 《[(${postTitle})]》,以下是评论的具体内容:
[(${content})]
htmlBody: |
@ -21,7 +21,7 @@ spec:
</div>
<div class="body">
<p>
<span th:text="${commenter}"></span> 评论了的文章
<span th:text="${commenter}"></span> 评论了的文章
<a th:href="${postUrl}" target="_blank" th:text="|《${postTitle}》|"></a>
<span>,以下是评论的具体内容:</span>
</p>
@ -40,11 +40,11 @@ spec:
reasonType: new-comment-on-single-page
language: default
template:
title: "[(${commenter})] 评论了的页面《[(${pageTitle})]》"
title: "[(${commenter})] 评论了的页面《[(${pageTitle})]》"
rawBody: |
[(${subscriber.displayName})] 你好:
[(${commenter})] 评论了的页面 《[(${pageTitle})]》,以下是评论的具体内容:
[(${commenter})] 评论了的页面 《[(${pageTitle})]》,以下是评论的具体内容:
[(${content})]
htmlBody: |
@ -54,7 +54,7 @@ spec:
</div>
<div class="body">
<p>
<span th:text="${commenter}"></span> 评论了的页面
<span th:text="${commenter}"></span> 评论了的页面
<a th:href="${pageUrl}" target="_blank" th:text="|《${pageTitle}》|"></a>
<span>,以下是评论的具体内容:</span>
</p>
@ -73,11 +73,11 @@ spec:
reasonType: someone-replied-to-you
language: default
template:
title: "[(${replier})] 在评论中回复了"
title: "[(${replier})] 在评论中回复了"
rawBody: |
[(${subscriber.displayName})] 你好:
[(${replier})] 在评论“[(${isQuoteReply ? quoteContent : commentContent})]”中回复了,以下是回复的具体内容:
[(${replier})] 在评论“[(${isQuoteReply ? quoteContent : commentContent})]”中回复了,以下是回复的具体内容:
[(${content})]
htmlBody: |
@ -93,7 +93,7 @@ spec:
target="_blank"
th:text="|”${isQuoteReply ? quoteContent : commentContent}”|"
></a>
<span>中回复了,以下是回复的具体内容:</span>
<span>中回复了,以下是回复的具体内容:</span>
</p>
<pre class="content" th:text="${content}"></pre>
</div>