如何查看 %{respond_instructions} 替换标签包含的内容?
能否将其移至邮件顶部?在哪里可以找到所有这些标签内容的参考说明?
如何查看 %{respond_instructions} 替换标签包含的内容?
能否将其移至邮件顶部?在哪里可以找到所有这些标签内容的参考说明?
您可以通过编辑电子邮件模板将回复说明移至顶部。您可以在 /admin/email/templates 处进行操作。我认为您也可以在 /admin/customize/site_texts 处进行设置,这可能更简单一些,因为您可以使用搜索功能来获取包含该术语的模板列表。
我使用 AI 根据 discourse/lib/email/message_builder.rb at main · discourse/discourse · GitHub 生成了用于填充 respond_instructions 的键列表,以下是我得到的结果。我尚未验证该结果,但认为它或许仍对您有帮助。
user_notifications.pm_participants
user_notifications.only_reply_by_email
user_notifications.only_reply_by_email_pm
user_notifications.only_reply_by_email_pm_button_only
user_notifications.visit_link_to_respond
user_notifications.visit_link_to_respond_pm
user_notifications.visit_link_to_respond_pm_button_only
user_notifications.reply_by_email
user_notifications.reply_by_email_pm
user_notifications.reply_by_email_pm_button_only