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;"> <div class="footer" style="font-size: 12px; color: #666;">
<a th:href="${site.url}" th:text="${site.title}"></a> <a th:href="${site.url}" th:text="${site.title}"></a>
<p class="unsubscribe"> <p class="unsubscribe">
&mdash;<br /> &mdash;<br />
<a th:href="|${site.url}/console/users/-/notifications|"></a> <a th:href="|${site.url}/console/users/-/notifications|"></a>
<a th:href="${unsubscribeUrl}"></a> <a th:href="${unsubscribeUrl}"></a>

View File

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