perf: 优化用户创建邮件信息,支持部分标签

This commit is contained in:
ibuler
2021-11-03 11:17:18 +08:00
committed by Jiangjie.Bai
parent d57f52ee24
commit bbe2678df3
3 changed files with 79 additions and 63 deletions

View File

@@ -57,7 +57,7 @@ class EmailContentSettingSerializer(serializers.Serializer):
EMAIL_CUSTOM_USER_CREATED_BODY = serializers.CharField(
max_length=4096, allow_blank=True, required=False,
label=_('Create user email content'),
help_text=_('Tips:When creating a user, send the content of the email')
help_text=_('Tips: When creating a user, send the content of the email, support {username} {name} {email} label')
)
EMAIL_CUSTOM_USER_CREATED_SIGNATURE = serializers.CharField(
max_length=512, allow_blank=True, required=False, label=_('Signature'),