diff --git a/app/views/mailer/budget_investment_created.html.erb b/app/views/mailer/budget_investment_created.html.erb
index ba3674d0d..59af63dd1 100644
--- a/app/views/mailer/budget_investment_created.html.erb
+++ b/app/views/mailer/budget_investment_created.html.erb
@@ -1,16 +1,42 @@
-Hola <%= @investment.author.name %>
+
-Muchas gracias por crear tu proyecto <%= @investment.title %> para los Presupuestos Participativos de <%= @investment.budget.name %> de Madrid.
+
+ <%= t("mailers.budget_investment_created.title") %>
+
-Te informaremos de cómo avanza el proceso, que también puedes seguir en
-<%= link_to budgets_url, budgets_url %>
+
+ <%= t("mailers.budget_investment_created.intro_html",
+ author: @investment.author.name).html_safe %>
+
-Atentamente,
+
+ <%= t("mailers.budget_investment_created.text_html",
+ investment: @investment.title,
+ budget: @investment.budget.name).html_safe %>
+
-Área de Participación Ciudadana, Transparencia
-y Gobierno Abierto del Ayuntamiento de Madrid
+
+ <%= t("mailers.budget_investment_created.follow_html",
+ link: link_to(t("mailers.budget_investment_created.follow_link"), budgets_url)).html_safe %>
+
-
- <%= social_share_button_tag("#{@investment.title} #{setting['twitter_hashtag']}",
- url: budget_investment_url(@investment.budget, @investment)) %>
-
\ No newline at end of file
+
+
+
+ |
+ <%= link_to budget_investment_url(@investment.budget, @investment, anchor: "social-share"), 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: 160px; display: inline-block;" do %>
+ <%= image_tag('icon_mailer_share.png', style: "border: 0; display: inline-block; width: 100%; max-width: 16px", alt: "") %>
+ <%= t('mailers.budget_investment_created.share') %>
+ <% end %>
+ |
+
+
+
+
+
+ <%= t("mailers.budget_investment_created.sincerely") %>
+
+
+ <%= t("mailers.budget_investment_created.signatory") %>
+
+
diff --git a/config/locales/mailers.en.yml b/config/locales/mailers.en.yml
index 34578d739..579dff5d1 100755
--- a/config/locales/mailers.en.yml
+++ b/config/locales/mailers.en.yml
@@ -64,7 +64,15 @@ en:
button: Complete registration
subject: "Invitation to %{org_name}"
budget_investment_created:
- subject: "Thank you for creating a proposal!"
+ subject: "Thank you for creating an investment!"
+ title: "Thank you for creating an investment!"
+ intro_html: "Hi %{author},"
+ text_html: "Thank you for creating your investment %{investment} for Participatory Budgets %{budget}."
+ follow_html: "We will inform you about how the process progresses, which you can also follow on %{link}."
+ follow_link: "Participatory Budgets"
+ sincerely: "Sincerely,"
+ signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"
+ share: "Comparte tu proyecto"
budget_investment_unfeasible:
hi: "Dear user,"
new_html: "For all these, we invite you to elaborate a new proposal that ajusts to the conditions of this process. You can do it following this link: %{url}."
diff --git a/config/locales/mailers.es.yml b/config/locales/mailers.es.yml
index f17240c85..108e50917 100644
--- a/config/locales/mailers.es.yml
+++ b/config/locales/mailers.es.yml
@@ -54,7 +54,15 @@ es:
button: Completar registro
subject: "Invitación a %{org_name}"
budget_investment_created:
- subject: "¡Gracias por crear una propuesta!"
+ subject: "¡Gracias por crear un proyecto!"
+ title: "¡Gracias por crear un proyecto!"
+ intro_html: "Hola %{author},"
+ text_html: "Muchas gracias por crear tu proyecto %{investment} para los Presupuestos Participativos %{budget}."
+ follow_html: "Te informaremos de cómo avanza el proceso, que también puedes seguir en la página de %{link}."
+ follow_link: "Presupuestos participativos"
+ sincerely: "Atentamente,"
+ signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
+ share: "Comparte tu proyecto"
budget_investment_unfeasible:
hi: "Estimado usuario,"
new_html: "Por todo ello, te invitamos a que elabores una nueva propuesta que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}."
|