Removes custom content on mailers

This commit is contained in:
decabeza
2018-07-30 17:57:25 +02:00
parent 62343ba49b
commit f2ec836587
7 changed files with 8 additions and 80 deletions

View File

@@ -35,9 +35,5 @@
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_created.sincerely") %> <%= t("mailers.budget_investment_created.sincerely") %>
<br>
<span style="color: #ccc; font-size: 12px;">
<%= t("mailers.budget_investment_created.signatory") %>
</span>
</p> </p>
</td> </td>

View File

@@ -4,11 +4,6 @@
<%= t("mailers.budget_investment_selected.hi") %> <%= t("mailers.budget_investment_selected.hi") %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_selected.selected_html",
title: @investment.title) %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_selected.share") %> <%= t("mailers.budget_investment_selected.share") %>
</p> </p>
@@ -31,8 +26,6 @@
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_selected.sincerely") %><br> <%= t("mailers.budget_investment_selected.sincerely") %>
<span style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 24px; color: #ccc;">
<%= t("mailers.budget_investment_selected.signatory") %></span>
</p> </p>
</td> </td>

View File

@@ -4,11 +4,6 @@
<%= t("mailers.budget_investment_unfeasible.hi") %> <%= t("mailers.budget_investment_unfeasible.hi") %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unfeasible.unfeasible_html",
title: @investment.title) %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; padding-left: 12px; border-left: 2px solid #ccc;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; padding-left: 12px; border-left: 2px solid #ccc;">
<%= @investment.unfeasibility_explanation %> <%= @investment.unfeasibility_explanation %>
</p> </p>
@@ -19,17 +14,11 @@
new_budget_investment_url(@investment.budget), style: "color: #2895F1; text-decoration: underline;")) %> new_budget_investment_url(@investment.budget), style: "color: #2895F1; text-decoration: underline;")) %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unfeasible.reconsider_html", code: @investment.code) %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unfeasible.sorry") %> <%= t("mailers.budget_investment_unfeasible.sorry") %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unfeasible.sincerely") %><br> <%= t("mailers.budget_investment_unfeasible.sincerely") %>
<span style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 24px; color: #ccc;">
<%= t("mailers.budget_investment_unfeasible.signatory") %></span>
</p> </p>
</td> </td>

View File

@@ -4,24 +4,11 @@
<%= t("mailers.budget_investment_unselected.hi") %> <%= t("mailers.budget_investment_unselected.hi") %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unselected.unselected_html",
title: @investment.title) %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unselected.participate_html",
url: link_to(t("mailers.budget_investment_unselected.participate_url"),
budget_url(@investment.budget), style: "color: #2895F1; text-decoration: underline;")) %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unselected.thanks") %> <%= t("mailers.budget_investment_unselected.thanks") %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.budget_investment_unselected.sincerely") %><br> <%= t("mailers.budget_investment_unselected.sincerely") %>
<span style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 24px; color: #ccc;">
<%= t("mailers.budget_investment_unselected.signatory") %></span>
</p> </p>
</td> </td>

View File

@@ -4,11 +4,6 @@
<%= t("mailers.unfeasible_spending_proposal.hi") %> <%= t("mailers.unfeasible_spending_proposal.hi") %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.unfeasible_spending_proposal.unfeasible_html",
title: @spending_proposal.title) %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; padding-left: 12px; border-left: 2px solid #ccc;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px; padding-left: 12px; border-left: 2px solid #ccc;">
<%= @spending_proposal.feasible_explanation %> <%= @spending_proposal.feasible_explanation %>
</p> </p>
@@ -19,17 +14,11 @@
new_spending_proposal_url, style: "color: #2895F1; text-decoration: underline;")) %> new_spending_proposal_url, style: "color: #2895F1; text-decoration: underline;")) %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.unfeasible_spending_proposal.reconsider_html", code: @spending_proposal.code) %>
</p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.unfeasible_spending_proposal.sorry") %> <%= t("mailers.unfeasible_spending_proposal.sorry") %>
</p> </p>
<p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;"> <p style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 14px;font-weight: normal;line-height: 24px;">
<%= t("mailers.unfeasible_spending_proposal.sincerely") %><br> <%= t("mailers.unfeasible_spending_proposal.sincerely") %>
<span style="font-family: 'Open Sans','Helvetica Neue',arial,sans-serif;font-size: 12px;font-weight: normal;line-height: 24px; color: #ccc;">
<%= t("mailers.unfeasible_spending_proposal.signatory") %></span>
</p> </p>
</td> </td>

View File

@@ -11,7 +11,7 @@ en:
email_verification: email_verification:
click_here_to_verify: this link click_here_to_verify: this link
instructions_2_html: This email will verify your account with <b>%{document_type} %{document_number}</b>. If these don't belong to you, please don't click on the previous link and ignore this email. instructions_2_html: This email will verify your account with <b>%{document_type} %{document_number}</b>. If these don't belong to you, please don't click on the previous link and ignore this email.
instructions_html: To complete the verification of your user account in the Open Government Portal, you must click %{verification_link}. instructions_html: To complete the verification of your user account you must click %{verification_link}.
subject: Confirm your email subject: Confirm your email
thanks: Thank you very much. thanks: Thank you very much.
title: Confirm your account using the following link title: Confirm your account using the following link
@@ -24,12 +24,9 @@ en:
hi: "Dear user," hi: "Dear user,"
new_html: "For all these, we invite you to elaborate a <strong>new proposal</strong> that ajusts to the conditions of this process. You can do it following this link: %{url}." new_html: "For all these, we invite you to elaborate a <strong>new proposal</strong> that ajusts to the conditions of this process. You can do it following this link: %{url}."
new_href: "new investment project" new_href: "new investment project"
reconsider_html: "If you believe that the rejected proposal meets the requirements to be an investment proposal, you can communicate this, within 48 hours, responding to the email address examples@consul.es. Including the code %{code} in the subject of the email."
sincerely: "Sincerely" sincerely: "Sincerely"
signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"
sorry: "Sorry for the inconvenience and we again thank you for your invaluable 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" 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 <strong>participatory budgets</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_digest: proposal_notification_digest:
info: "Here are the new notifications that have been published by authors of the proposals that you have supported in %{org_name}." info: "Here are the new notifications that have been published by authors of the proposals that you have supported in %{org_name}."
title: "Proposal notifications in %{org_name}" title: "Proposal notifications in %{org_name}"
@@ -47,7 +44,7 @@ en:
title_html: "You have send a new private message to <strong>%{receiver}</strong> with the content:" title_html: "You have send a new private message to <strong>%{receiver}</strong> with the content:"
user_invite: user_invite:
ignore: "If you have not requested this invitation don't worry, you can ignore this email." ignore: "If you have not requested this invitation don't worry, you can ignore this email."
text: "Thank you for applying to join %{org}! In seconds you can start to decide the city you want, just fill the form below:" text: "Thank you for applying to join %{org}! In seconds you can start to participate, just fill the form below:"
thanks: "Thank you very much." thanks: "Thank you very much."
title: "Welcome to %{org}" title: "Welcome to %{org}"
button: Complete registration button: Complete registration
@@ -60,33 +57,23 @@ en:
follow_html: "We will inform you about how the process progresses, which you can also follow on <strong>%{link}</strong>." follow_html: "We will inform you about how the process progresses, which you can also follow on <strong>%{link}</strong>."
follow_link: "Participatory Budgets" follow_link: "Participatory Budgets"
sincerely: "Sincerely," sincerely: "Sincerely,"
signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"
share: "Share your project" share: "Share your project"
budget_investment_unfeasible: budget_investment_unfeasible:
hi: "Dear user," hi: "Dear user,"
new_html: "For all these, we invite you to elaborate a <strong>new investment</strong> that ajusts to the conditions of this process. You can do it following this link: %{url}." new_html: "For all these, we invite you to elaborate a <strong>new investment</strong> that ajusts to the conditions of this process. You can do it following this link: %{url}."
new_href: "new investment project" new_href: "new investment project"
reconsider_html: "If you believe that the rejected investment meets the requirements to be an investment project, you can communicate this, within 48 hours, responding to the email address examples@consul.es. Including the code %{code} in the subject of the email."
sincerely: "Sincerely" sincerely: "Sincerely"
signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"
sorry: "Sorry for the inconvenience and we again thank you for your invaluable 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" 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 <strong>participatory budgets</strong>. We regret to inform you that your investment <strong>'%{title}'</strong> will be excluded from this participatory process for the following reason:"
budget_investment_selected: budget_investment_selected:
subject: "Your investment project '%{code}' has been selected" subject: "Your investment project '%{code}' has been selected"
hi: "Dear user," hi: "Dear user,"
selected_html: "From the City Council we want to thank you for your participation in the <strong>participatory budgets</strong>. We would like to inform you that your investment project <strong>'%{title}'</strong> has been selected for the final voting phase that will happen from <strong>May 15th to June 30th</strong>."
share: "Start to get votes, share your investment project on social networks. Share is essential to make it a reality." share: "Start to get votes, share your investment project on social networks. Share is essential to make it a reality."
share_button: "Share your investment project" share_button: "Share your investment project"
thanks: "Thank you again for participating." thanks: "Thank you again for participating."
sincerely: "Sincererly" sincerely: "Sincererly"
signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"
budget_investment_unselected: budget_investment_unselected:
subject: "Your investment project '%{code}' has not been selected" subject: "Your investment project '%{code}' has not been selected"
hi: "Dear user," hi: "Dear user,"
unselected_html: "From the City Council we want to thank you for your participation in the <strong>participatory budgets</strong>. We regret to inform you that your investment project <strong>'%{title}'</strong> has not been selected for the final voting phase."
participate_html: "You can continue participating in the final voting phase voting for investments projects from <strong>May 15th to June 30th</strong>."
participate_url: "participate in the final voting"
thanks: "Thank you again for participating." thanks: "Thank you again for participating."
sincerely: "Sincererly" sincerely: "Sincererly"
signatory: "DEPARTMENT OF PUBLIC PARTICIPATION"

View File

@@ -11,7 +11,7 @@ es:
email_verification: email_verification:
click_here_to_verify: en este enlace click_here_to_verify: en este enlace
instructions_2_html: Este email es para verificar tu cuenta con <b>%{document_type} %{document_number}</b>. Si esos no son tus datos, por favor no pulses el enlace anterior e ignora este email. instructions_2_html: Este email es para verificar tu cuenta con <b>%{document_type} %{document_number}</b>. Si esos no son tus datos, por favor no pulses el enlace anterior e ignora este email.
instructions_html: Para terminar de verificar tu cuenta de usuario en el Portal de Gobierno Abierto, necesitamos que pulses %{verification_link}. instructions_html: Para terminar de verificar tu cuenta de usuario pulsa %{verification_link}.
subject: Verifica tu email subject: Verifica tu email
thanks: Muchas gracias. thanks: Muchas gracias.
title: Verifica tu cuenta con el siguiente enlace title: Verifica tu cuenta con el siguiente enlace
@@ -24,22 +24,16 @@ es:
hi: "Estimado usuario," hi: "Estimado usuario,"
new_html: 'Por todo ello, te invitamos a que elabores una <strong>nueva propuesta</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}.' new_html: 'Por todo ello, te invitamos a que elabores una <strong>nueva propuesta</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}.'
new_href: "nueva propuesta de inversión" new_href: "nueva propuesta de inversión"
reconsider_html: "Si consideras que la propuesta rechazada cumple los requisitos para mantenerla como propuesta de inversión, podrás comunicarlo, en el plazo de 48 horas, al correo example@consul.es, indicando necesariamente para su tramitación el código %{code} como asunto del correo, correspondiente a tu propuesta."
sincerely: "Atentamente" sincerely: "Atentamente"
signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
sorry: "Sentimos las molestias ocasionadas y volvemos a darte las gracias por tu inestimable participación." 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" subject: "Tu propuesta de inversión '%{code}' ha sido marcada como inviable"
unfeasible_html: "Desde el Ayuntamiento queremos agradecer tu participación en los <strong>Presupuestos Participativos</strong>. Lamentamos informarte de que tu propuesta <strong>'%{title}'</strong> quedará excluida de este proceso participativo por el siguiente motivo:"
budget_investment_unfeasible: budget_investment_unfeasible:
hi: "Estimado usuario," hi: "Estimado usuario,"
new_html: 'Por todo ello, te invitamos a que elabores un <strong>nuevo proyecto de gasto</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}.' new_html: 'Por todo ello, te invitamos a que elabores un <strong>nuevo proyecto de gasto</strong> que se ajuste a las condiciones de este proceso. Esto lo puedes hacer en este enlace: %{url}.'
new_href: "nuevo proyecto de gasto" new_href: "nuevo proyecto de gasto"
reconsider_html: "Si consideras que el proyecto rechazado cumple los requisitos para mantenerlo como proyecto de gasto, podrás comunicarlo, en el plazo de 48 horas, al correo example@consul.es, indicando necesariamente para su tramitación el código %{code} como asunto del correo, correspondiente a tu proyecto."
sincerely: "Atentamente" sincerely: "Atentamente"
signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
sorry: "Sentimos las molestias ocasionadas y volvemos a darte las gracias por tu inestimable participación." sorry: "Sentimos las molestias ocasionadas y volvemos a darte las gracias por tu inestimable participación."
subject: "Tu proyecto de gasto '%{code}' ha sido marcado como inviable" subject: "Tu proyecto de gasto '%{code}' ha sido marcado como inviable"
unfeasible_html: "Desde el Ayuntamiento queremos agradecer tu participación en los <strong>Presupuestos Participativos</strong>. Lamentamos informarte de que tu proyecto <strong>'%{title}'</strong> quedará excluido de este proceso participativo por el siguiente motivo:"
proposal_notification_digest: proposal_notification_digest:
info: "A continuación te mostramos las nuevas notificaciones que han publicado los autores de las propuestas que estás apoyando en %{org_name}." info: "A continuación te mostramos las nuevas notificaciones que han publicado los autores de las propuestas que estás apoyando en %{org_name}."
title: "Notificaciones de propuestas en %{org_name}" title: "Notificaciones de propuestas en %{org_name}"
@@ -57,7 +51,7 @@ es:
title_html: "Has enviado un nuevo mensaje privado a <strong>%{receiver}</strong> con el siguiente contenido:" title_html: "Has enviado un nuevo mensaje privado a <strong>%{receiver}</strong> con el siguiente contenido:"
user_invite: user_invite:
ignore: "Si no has solicitado esta invitación no te preocupes, puedes ignorar este correo." ignore: "Si no has solicitado esta invitación no te preocupes, puedes ignorar este correo."
text: "¡Gracias por solicitar unirte a %{org}! En unos segundos podrás empezar a decidir la ciudad que quieres, sólo tienes que rellenar el siguiente formulario:" text: "¡Gracias por solicitar unirte a %{org}! En unos segundos podrás empezar a participar, sólo tienes que rellenar el siguiente formulario:"
thanks: "Muchas gracias." thanks: "Muchas gracias."
title: "Bienvenido a %{org}" title: "Bienvenido a %{org}"
button: Completar registro button: Completar registro
@@ -70,23 +64,16 @@ es:
follow_html: "Te informaremos de cómo avanza el proceso, que también puedes seguir en la página de <strong>%{link}</strong>." follow_html: "Te informaremos de cómo avanza el proceso, que también puedes seguir en la página de <strong>%{link}</strong>."
follow_link: "Presupuestos participativos" follow_link: "Presupuestos participativos"
sincerely: "Atentamente," sincerely: "Atentamente,"
signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
share: "Comparte tu proyecto" share: "Comparte tu proyecto"
budget_investment_selected: budget_investment_selected:
subject: "Tu proyecto de gasto '%{code}' ha sido seleccionado" subject: "Tu proyecto de gasto '%{code}' ha sido seleccionado"
hi: "Estimado/a usuario/a" hi: "Estimado/a usuario/a"
selected_html: "Desde el Ayuntamiento de Madrid agradecemos que hayas participado con tu idea en los <strong>Presupuestos Participativos</strong>. Te informamos de que tu proyecto <strong>'%{title}'</strong> ha sido seleccionado y pasa a la fase de votación final que tiene lugar desde el <strong>15 de mayo hasta el 30 de junio de 2017</strong>."
share: "Empieza ya a conseguir votos, comparte tu proyecto de gasto en redes sociales. La difusión es fundamental para conseguir que se haga realidad." share: "Empieza ya a conseguir votos, comparte tu proyecto de gasto en redes sociales. La difusión es fundamental para conseguir que se haga realidad."
share_button: "Comparte tu proyecto" share_button: "Comparte tu proyecto"
thanks: "Gracias de nuevo por tu participación." thanks: "Gracias de nuevo por tu participación."
sincerely: "Atentamente" sincerely: "Atentamente"
signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"
budget_investment_unselected: budget_investment_unselected:
subject: "Tu proyecto de gasto '%{code}' no ha sido seleccionado" subject: "Tu proyecto de gasto '%{code}' no ha sido seleccionado"
hi: "Estimado/a usuario/a" hi: "Estimado/a usuario/a"
unselected_html: "Desde el Ayuntamiento de Madrid agradecemos que hayas participado con tu idea en los <strong>Presupuestos Participativos</strong>. Lamentamos informarte de que tu proyecto <strong>'%{title}'</strong> no ha sido seleccionado para la fase de votación final."
participate_html: "Puedes continuar participando en la votación final votando proyectos para toda la ciudad y el distrito que elijas desde el <strong>15 de mayo hasta el 30 de junio de 2017.</strong>"
participate_url: "participes en la votación final"
thanks: "Gracias de nuevo por tu participación." thanks: "Gracias de nuevo por tu participación."
sincerely: "Atentamente" sincerely: "Atentamente"
signatory: "DIRECCIÓN GENERAL DE PARTICIPACIÓN CIUDADANA"