feat: Customisable Email Templates (#1095)
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
<td class="content-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
|
||||
<meta itemprop="name" content="Confirm Email" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" />
|
||||
<table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<%= yield %>
|
||||
{{ content_for_layout }}
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -89,16 +89,16 @@
|
||||
<div class="footer" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
|
||||
<table width="100%" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<% if global_config['BRAND_NAME'].present? %>
|
||||
{% if global_config['BRAND_NAME'] %}
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
|
||||
Powered by
|
||||
<a href="<%= global_config['BRAND_URL'] %>" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top">
|
||||
<%= global_config['BRAND_NAME'] %>
|
||||
<a href="{{ global_config['BRAND_URL'] }}" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top">
|
||||
{{ global_config['BRAND_NAME'] }}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@@ -109,4 +109,4 @@
|
||||
</table>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
@@ -1,10 +0,0 @@
|
||||
<p>Hi <%= @agent.available_name %>,</p>
|
||||
|
||||
<p>Time to save the world. A new conversation has been assigned to you</p>
|
||||
|
||||
<p>
|
||||
Click <%=
|
||||
link_to 'here',
|
||||
app_account_conversation_url(account_id: @conversation.account_id, id: @conversation.display_id)
|
||||
%> to get cracking.
|
||||
</p>
|
||||
@@ -0,0 +1,7 @@
|
||||
<p>Hi {{user.available_name}},</p>
|
||||
|
||||
<p>Time to save the world. A new conversation has been assigned to you</p>
|
||||
|
||||
<p>
|
||||
Click <a href="{{action_url}}">here</a> to get cracking.
|
||||
</p>
|
||||
@@ -1,10 +0,0 @@
|
||||
<p>Hi <%= @agent.available_name %>,</p>
|
||||
|
||||
<p>Time to save the world. A new conversation has been created in <%= @conversation.inbox.name %></p>
|
||||
|
||||
<p>
|
||||
Click <%=
|
||||
link_to 'here',
|
||||
app_account_conversation_url(account_id: @conversation.account_id, id: @conversation.display_id)
|
||||
%> to get cracking.
|
||||
</p>
|
||||
@@ -0,0 +1,8 @@
|
||||
<p>Hi {{user.available_name}}</p>
|
||||
|
||||
|
||||
<p>Time to save the world. A new conversation has been created in {{ inbox.name }}</p>
|
||||
|
||||
<p>
|
||||
Click <a href="{{ action_url }}">here</a> to get cracking.
|
||||
</p>
|
||||
Reference in New Issue
Block a user