Adds styles to instructions emails
This commit is contained in:
@@ -1,5 +1,14 @@
|
|||||||
<p><%= t("devise_views.mailer.confirmation_instructions.welcome") %> <%= @email %></p>
|
<td style="padding-bottom: 20px; padding-left: 10px;">
|
||||||
|
|
||||||
<p><%= t("devise_views.mailer.confirmation_instructions.text") %></p>
|
<h1 style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;">
|
||||||
|
<%= t("devise_views.mailer.confirmation_instructions.welcome") %> <strong><%= @email %></strong>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<p><%= link_to t("devise_views.mailer.confirmation_instructions.confirm_link"), confirmation_url(@resource, confirmation_token: @token) %></p>
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= t("devise_views.mailer.confirmation_instructions.text") %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= link_to t("devise_views.mailer.confirmation_instructions.confirm_link"), confirmation_url(@resource, confirmation_token: @token), style: "color: #2895F1; text-decoration:none;" %>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
|||||||
@@ -1,8 +1,26 @@
|
|||||||
<p><%= t("devise_views.mailer.reset_password_instructions.hello") %> <%= @resource.email %></p>
|
<td style="padding-bottom: 20px; padding-left: 10px;">
|
||||||
|
|
||||||
<p><%= t("devise_views.mailer.reset_password_instructions.text") %></p>
|
<h1 style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;">
|
||||||
|
<%= t("devise_views.mailer.reset_password_instructions.title") %>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<p><%= link_to t("devise_views.mailer.reset_password_instructions.change_link"), edit_password_url(@resource, reset_password_token: @token) %></p>
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= t("devise_views.mailer.reset_password_instructions.hello") %> <strong><%= @resource.email %></strong>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p><%= t("devise_views.mailer.reset_password_instructions.ignore_text") %></p>
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
<p><%= t("devise_views.mailer.reset_password_instructions.info_text") %></p>
|
<%= t("devise_views.mailer.reset_password_instructions.text") %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= link_to t("devise_views.mailer.reset_password_instructions.change_link"), edit_password_url(@resource, reset_password_token: @token), style: "color: #2895F1; text-decoration:none;" %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= t("devise_views.mailer.reset_password_instructions.ignore_text") %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= t("devise_views.mailer.reset_password_instructions.info_text") %>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
|||||||
@@ -1,7 +1,22 @@
|
|||||||
<p><%= t("devise_views.mailer.unlock_instructions.hello") %> <%= @resource.email %></p>
|
<td style="padding-bottom: 20px; padding-left: 10px;">
|
||||||
|
|
||||||
<p><%= t("devise_views.mailer.unlock_instructions.info_text") %></p>
|
<h1 style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;">
|
||||||
|
<%= t("devise_views.mailer.unlock_instructions.title") %>
|
||||||
|
</h1>
|
||||||
|
|
||||||
<p><%= t("devise_views.mailer.unlock_instructions.instructions_text") %></p>
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= t("devise_views.mailer.unlock_instructions.hello") %> <strong><%= @resource.email %></strong>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p><%= link_to t("devise_views.mailer.unlock_instructions.unlock_link"), unlock_url(@resource, unlock_token: @token) %></p>
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= t("devise_views.mailer.unlock_instructions.info_text") %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= t("devise_views.mailer.unlock_instructions.instructions_text") %>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||||
|
<%= link_to t("devise_views.mailer.unlock_instructions.unlock_link"), unlock_url(@resource, unlock_token: @token), style: "color: #2895F1; text-decoration:none;" %>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user