mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-23 02:53:32 +00:00
add email notif template to schema
- update migration
This commit is contained in:
+20
@@ -808,3 +808,23 @@ VALUES (
|
||||
'Urgent: SLA Breach for Conversation {{ .Conversation.ReferenceNumber }} for {{ .SLA.Metric }}',
|
||||
true
|
||||
);
|
||||
|
||||
INSERT INTO templates
|
||||
("type", body, is_default, "name", subject, is_builtin)
|
||||
VALUES (
|
||||
'email_notification'::template_type,
|
||||
'<p>{{ .Author.FullName }} mentioned you in a private note on conversation #{{ .Conversation.ReferenceNumber }}.</p>
|
||||
|
||||
<p>
|
||||
<a href="{{ RootURL }}/inboxes/mentioned/conversation/{{ .Conversation.UUID }}?scrollTo={{ .Message.UUID }}">View Conversation</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Best regards,<br>
|
||||
Libredesk
|
||||
</p>',
|
||||
false,
|
||||
'Mentioned in conversation',
|
||||
'{{ .Author.FullName }} mentioned you in conversation #{{ .Conversation.ReferenceNumber }}',
|
||||
true
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user