diff --git a/app/views/mailer/budget_investment_selected.html.erb b/app/views/mailer/budget_investment_selected.html.erb
new file mode 100644
index 000000000..76d49acba
--- /dev/null
+++ b/app/views/mailer/budget_investment_selected.html.erb
@@ -0,0 +1,40 @@
+
+
+
+ <%= t("mailers.budget_investment_selected.hi") %>
+
+
+
+ <%= t("mailers.budget_investment_selected.selected_html",
+ title: @investment.title) %>
+
+
+
+ <%= t("mailers.budget_investment_selected.share",
+ url: link_to(t("mailers.budget_investment_selected.share_url"),
+ namespaced_budget_investment_path(@investment), style: "color: #2895F1; text-decoration: underline;")) %>
+
+
+
+
+
+ |
+ <%= 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_selected.share_button') %>
+ <% end %>
+ |
+
+
+
+
+
+ <%= t("mailers.budget_investment_selected.thanks") %>
+
+
+
+ <%= t("mailers.budget_investment_selected.sincerely") %>
+
+ <%= t("mailers.budget_investment_unfeasible.signatory") %>
+
+ |
\ No newline at end of file
diff --git a/app/views/mailer/budget_investment_unselected.html.erb b/app/views/mailer/budget_investment_unselected.html.erb
new file mode 100644
index 000000000..7ffb25ef9
--- /dev/null
+++ b/app/views/mailer/budget_investment_unselected.html.erb
@@ -0,0 +1,35 @@
+
+
+
+ <%= t("mailers.budget_investment_unselected.hi") %>
+
+
+
+ <%= t("mailers.budget_investment_unselected.unselected_html",
+ title: @investment.title) %>
+
+
+
+ <%= @investment.unfeasibility_explanation %>
+
+
+
+ <%= t("mailers.budget_investment_unselected.new_html",
+ url: link_to(t("mailers.budget_investment_unselected.new_href"),
+ new_budget_investment_url(@investment.budget), style: "color: #2895F1; text-decoration: underline;")) %>
+
+
+
+ <%= t("mailers.budget_investment_unselected.reconsider_html", code: @investment.code) %>
+
+
+
+ <%= t("mailers.budget_investment_unselected.sorry") %>
+
+
+
+ <%= t("mailers.budget_investment_unselected.sincerely") %>
+
+ <%= t("mailers.budget_investment_unselected.signatory") %>
+
+ |
\ No newline at end of file
diff --git a/config/locales/mailers.en.yml b/config/locales/mailers.en.yml
index 49143f354..9d5c74c8e 100755
--- a/config/locales/mailers.en.yml
+++ b/config/locales/mailers.en.yml
@@ -82,4 +82,23 @@ en:
signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"
sorry: "Sorry for the inconvenience and we again thank you for your invaluable participation."
subject: "Your investment project '%{code}' has been marked as unfeasible"
- unfeasible_html: "From the City Council we want to thank you for your participation in the participatory budgets. We regret to inform you that your investment '%{title}' will be excluded from this participatory process for the following reason:"
\ No newline at end of file
+ unfeasible_html: "From the City Council we want to thank you for your participation in the participatory budgets. We regret to inform you that your investment '%{title}' will be excluded from this participatory process for the following reason:"
+ budget_investment_selected:
+ subject: "Tu propuesta de inversión '%{code}' ha sido seleccionada"
+ hi: "Estimado usuario,"
+ selected_html: "Desde el Ayuntamiento queremos agradecer tu participación en los Presupuestos Participativos. Queremos informarte de que tu proyecto '%{title}' ha sido seleccionado y pasa a la fase de votación final que tiene lugar desde el 15 de mayo hasta el 30 de junio."
+ share: "Te invitamos a que %{url} en redes sociales para promocionarlo y conseguir más votos."
+ share_url: "compartas tu proyecto de gasto"
+ share_button: "Comparte tu proyecto"
+ thanks: "Gracias de nuevo por tu participación."
+ sincerely: "Atentamente"
+ signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
+ budget_investment_unselected:
+ subject: "Tu propuesta de inversión '%{code}' no ha sido seleccionada"
+ hi: "Estimado usuario,"
+ unselected_html: "Desde el Ayuntamiento queremos agradecer tu participación en los Presupuestos Participativos. Lamentamos informarte de que tu proyecto '%{title}' no ha sido seleccionado para la fase de votación final."
+ participate: "De todas formas te invitamos a que %{url} votando otros proyectos desde el 15 de mayo hasta el 30 de junio."
+ participate_url: "participes en la votación final"
+ thanks: "Gracias de nuevo por tu participación."
+ sincerely: "Atentamente"
+ signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
\ No newline at end of file
diff --git a/config/locales/mailers.es.yml b/config/locales/mailers.es.yml
index 82a03d8de..0e1bbd992 100644
--- a/config/locales/mailers.es.yml
+++ b/config/locales/mailers.es.yml
@@ -72,4 +72,23 @@ es:
signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
sorry: "Sentimos las molestias ocasionadas y volvemos a darte las gracias por tu inestimable participación."
subject: "Tu propuesta de inversión '%{code}' ha sido marcada como inviable"
- unfeasible_html: "Desde el Ayuntamiento queremos agradecer tu participación en los Presupuestos Participativos. Lamentamos informarte de que tu proyecto '%{title}' quedará excluido de este proceso participativo por el siguiente motivo:"
\ No newline at end of file
+ unfeasible_html: "Desde el Ayuntamiento queremos agradecer tu participación en los Presupuestos Participativos. Lamentamos informarte de que tu proyecto '%{title}' quedará excluido de este proceso participativo por el siguiente motivo:"
+ budget_investment_selected:
+ subject: "Tu propuesta de inversión '%{code}' ha sido seleccionada"
+ hi: "Estimado usuario,"
+ selected_html: "Desde el Ayuntamiento queremos agradecer tu participación en los Presupuestos Participativos. Queremos informarte de que tu proyecto '%{title}' ha sido seleccionado y pasa a la fase de votación final que tiene lugar desde el 15 de mayo hasta el 30 de junio."
+ share: "Te invitamos a que %{url} en redes sociales para promocionarlo y conseguir más votos."
+ share_url: "compartas tu proyecto de gasto"
+ share_button: "Comparte tu proyecto"
+ thanks: "Gracias de nuevo por tu participación."
+ sincerely: "Atentamente"
+ signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
+ budget_investment_unselected:
+ subject: "Tu propuesta de inversión '%{code}' no ha sido seleccionada"
+ hi: "Estimado usuario,"
+ unselected_html: "Desde el Ayuntamiento queremos agradecer tu participación en los Presupuestos Participativos. Lamentamos informarte de que tu proyecto '%{title}' no ha sido seleccionado para la fase de votación final."
+ participate: "De todas formas te invitamos a que %{url} votando otros proyectos desde el 15 de mayo hasta el 30 de junio."
+ participate_url: "participes en la votación final"
+ thanks: "Gracias de nuevo por tu participación."
+ sincerely: "Atentamente"
+ signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"