Add message_html and sender authored by Taico Aerts's avatar Taico Aerts
...@@ -9,7 +9,9 @@ notifications: ...@@ -9,7 +9,9 @@ notifications:
action: action:
as: as:
subject: 'Subject of email/notification (Plain)' subject: 'Subject of email/notification (Plain)'
message: 'Message of notification (HTML)' message: 'Message of notification (Plain)'
message_html: 'Message of notification (HTML)'
sender: 'Sender of the email (optional)'
setting_group: 'Group the setting belongs to in the notification preferences (Plain)' setting_group: 'Group the setting belongs to in the notification preferences (Plain)'
setting: 'Textual description of the notification for the notification preferences (Plain)' setting: 'Textual description of the notification for the notification preferences (Plain)'
``` ```
...@@ -20,7 +22,9 @@ notifications: ...@@ -20,7 +22,9 @@ notifications:
| action | the (HTTP) action executed on the item | create, destroy, update, import | | action | the (HTTP) action executed on the item | create, destroy, update, import |
| as | the name of the notification itself/the person the notification is for | default, thesis_contact, student | | as | the name of the notification itself/the person the notification is for | default, thesis_contact, student |
| subject | the subject of the email/notification. Can contain variables (Plaintext) | '%{user} joined your group' | | subject | the subject of the email/notification. Can contain variables (Plaintext) | '%{user} joined your group' |
| message | the message in the email/notification. Can contain variables (HTML) | '%{coach} accepted your invitation <br> Congratulations!' | | sender | the email address to send the message from. Can contain variables (Plaintext) | '%{student_email}' |
| message | the message in the email/notification. Can contain variables. Specify either `message` or `message_html`, not both (Plaintext) | '%{coach} accepted your invitation' |
| message_html | the message in the email/notification. Can contain variables. Specify either `message` or `message_html`, not both (HTML) | '%{coach} accepted your invitation <br> Congratulations!' |
| setting_group | the group under which the notification will be listed in the notification preferences (Plaintext) | Project, Group, Coordinator | | setting_group | the group under which the notification will be listed in the notification preferences (Plaintext) | Project, Group, Coordinator |
| setting | short text describing the notification as shown in the notification preferences (Plaintext) | Coach accepted invitation | | setting | short text describing the notification as shown in the notification preferences (Plaintext) | Coach accepted invitation |
... ...
......