Adds link to not receive direct messages
This commit is contained in:
@@ -20,4 +20,18 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<table style="width: 100%;">
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="padding-left: 10px;">
|
||||||
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; margin: 0; font-style: italic; padding-bottom: 20px;">
|
||||||
|
<%= t('mailers.direct_message_for_receiver.unsubscribe',
|
||||||
|
account: link_to(t('mailers.proposal_notification_digest.unsubscribe_account'),
|
||||||
|
account_path, style: "color: #2895F1; text-decoration: none;")).html_safe %>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -56,13 +56,13 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="padding-left: 10px;">
|
<td style="padding-left: 10px;">
|
||||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; margin: 0; font-style: italic; padding-bottom: 20px;">
|
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; margin: 0; font-style: italic; padding-bottom: 20px;">
|
||||||
<%= t('mailers.proposal_notification_digest.unsubscribe',
|
<%= t('mailers.proposal_notification_digest.unsubscribe',
|
||||||
account: link_to(t('mailers.proposal_notification_digest.unsubscribe_account'),
|
account: link_to(t('mailers.proposal_notification_digest.unsubscribe_account'),
|
||||||
account_path)).html_safe %>
|
account_path, style: "color: #2895F1; text-decoration: none;")).html_safe %>
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -40,5 +40,7 @@ en:
|
|||||||
direct_message_for_receiver:
|
direct_message_for_receiver:
|
||||||
subject: "You have received a new private message"
|
subject: "You have received a new private message"
|
||||||
reply: Reply to %{sender}
|
reply: Reply to %{sender}
|
||||||
|
unsubscribe: "If you don't want receive direct messages, visit %{account} and unckeck 'Receive emails about direct messages'."
|
||||||
|
unsubscribe_account: My account
|
||||||
direct_message_for_sender:
|
direct_message_for_sender:
|
||||||
subject: "You have send a new private message"
|
subject: "You have send a new private message"
|
||||||
@@ -40,5 +40,7 @@ es:
|
|||||||
direct_message_for_receiver:
|
direct_message_for_receiver:
|
||||||
subject: "Has recibido un nuevo mensaje privado"
|
subject: "Has recibido un nuevo mensaje privado"
|
||||||
reply: Responder a %{sender}
|
reply: Responder a %{sender}
|
||||||
|
unsubscribe: "Si no quieres recibir mensajes directos, puedes entrar en %{account} y desmarcar la opción 'Recibir emails con mensajes directos'."
|
||||||
|
unsubscribe_account: Mi cuenta
|
||||||
direct_message_for_sender:
|
direct_message_for_sender:
|
||||||
subject: "Has enviado un nuevo mensaje privado"
|
subject: "Has enviado un nuevo mensaje privado"
|
||||||
Reference in New Issue
Block a user