Adds styles and texts for direct messages mailer
This commit is contained in:
BIN
app/assets/images/icon_mailer_reply.png
Normal file
BIN
app/assets/images/icon_mailer_reply.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 230 B |
@@ -6,4 +6,18 @@
|
||||
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
|
||||
<%= @direct_message.body %>
|
||||
</p>
|
||||
</td>
|
||||
|
||||
<table style="width: 100%; border-top: 1px solid #DEE0E3; margin-top: 60px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding-bottom: 12px; padding-top: 24px; text-align: center;">
|
||||
<%= link_to user_path(@direct_message.sender_id), style: "font-family: 'Open Sans','Helvetica Neue',arial,sans-serif; background: #f7f5f2; border-radius: 6px; color: #3d3d66!important; font-weight: bold; margin: 0px; padding: 10px 15px; text-align: center; text-decoration: none; min-width: 200px; display: inline-block;", target: "_blank" do %>
|
||||
<%= image_tag('icon_mailer_reply.png', style: "border: 0; display: inline-block; width: 100%; max-width: 12px; vertical-align: sub;", alt: "") %>
|
||||
<%= t('mailers.direct_message.reply',
|
||||
sender: @direct_message.sender.name) %>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
@@ -32,4 +32,6 @@ en:
|
||||
unfeasible_html: "From the Madrid City Council we want to thank you for your participation in the <strong>participatory budgets of the city of Madrid</strong>. We regret to inform you that your proposal <strong>'%{title}'</strong> will be excluded from this participatory process for the following reason:"
|
||||
proposal_notification:
|
||||
share: Share
|
||||
comment: Comment proposal
|
||||
comment: Comment proposal
|
||||
direct_message:
|
||||
reply: Reply to %{sender}
|
||||
@@ -32,4 +32,6 @@ es:
|
||||
unfeasible_html: "Desde el Ayuntamiento de Madrid queremos agradecer tu participación en los <strong>Presupuestos Participativos de la ciudad de Madrid</strong>. Lamentamos informarte de que tu propuesta <strong>'%{title}'</strong> quedará excluida de este proceso participativo por el siguiente motivo:"
|
||||
proposal_notification:
|
||||
share: Compartir
|
||||
comment: Comentar propuesta
|
||||
comment: Comentar propuesta
|
||||
direct_message:
|
||||
reply: Responder a %{sender}
|
||||
Reference in New Issue
Block a user