New rake task for proposals to send new action email
Execute rake task every day to detect new actions available for not archived proposals. If there are new actions available for today, send email to proposal's author with information text, new actions available and link to proposal dashboard url.
This commit is contained in:
@@ -77,6 +77,30 @@ en:
|
||||
hi: "Dear user,"
|
||||
thanks: "Thank you again for participating."
|
||||
sincerely: "Sincererly"
|
||||
new_actions_notification_rake_created:
|
||||
subject: "More news about your citizen proposal in Decide Madrid"
|
||||
hi: "Hello %{name},"
|
||||
new_resource: "NEW UNLOCKED RESOURCE"
|
||||
introduction: "As you know, on the %{created_at_day} day of the %{created_at_month} you created the proposal in draft mode %{title} on the Decide Madrid platform."
|
||||
text_1: "Whenever you want you can publish on this link: %{link_to_published}. If you're still not sure..."
|
||||
text_2: "Seize this moment! Learn, add other people with the same interests and prepare the diffusion that you will need when you publish your proposal definitively."
|
||||
text_3: "And to accompany you in this challenge, here are the news..."
|
||||
text_4: "Take a look at this NEW recommended ACTION:"
|
||||
text_5: "The next action we recommend is:"
|
||||
footer_text: "As always, enter the Proposals Panel and we will tell you in detail how to use these resources and how to get the most out of it."
|
||||
dashboard_button: "Go ahead, discover them!"
|
||||
new_actions_notification_rake_published:
|
||||
subject: "More news about your citizen proposal in Decide Madrid"
|
||||
hi: "Hello %{name},"
|
||||
new_resource: "NEW UNLOCKED RESOURCE"
|
||||
introduction: "As you know, on the %{published_at_day} day of the %{published_at_month} you published the proposal %{title} on the Decide Madrid platform."
|
||||
text_1: "Well, you've got %{votes_count} support so far Congratulations!"
|
||||
text_2: "And so, you have a new resource available to help you keep moving forward."
|
||||
text_3: "You are missing %{days_count} days before your proposal gets the %{max_votes_count} supports and goes to referendum. Cheer up and keep spreading. Are you short of ideas?"
|
||||
text_4: "NEW RECOMMENDED DIFFUSION ACTION"
|
||||
text_5: "There's more yet, see the following action:"
|
||||
footer_text: "As always, enter the Proposals Panel and we will tell you in detail how to use these resources and how to get the most out of it."
|
||||
dashboard_button: "Go ahead, discover them!"
|
||||
new_actions_notification_on_create:
|
||||
subject: "Your draft citizen proposal in Decide Madrid is created"
|
||||
hi: "Hi %{name}!"
|
||||
|
||||
@@ -77,6 +77,30 @@ es:
|
||||
hi: "Estimado/a usuario/a"
|
||||
thanks: "Gracias de nuevo por tu participación."
|
||||
sincerely: "Atentamente"
|
||||
new_actions_notification_rake_created:
|
||||
subject: "Más novedades de tu propuesta ciudadana en Decide Madrid"
|
||||
hi: "Hola %{name},"
|
||||
new_resource: "NUEVO RECURSO DESBLOQUEADO"
|
||||
introduction: "Como sabes, el día %{created_at_day} del %{created_at_month} creaste la propuesta en modo borrador %{title} en la plataforma Decide Madrid."
|
||||
text_1: "Cuando quieras puedes publicar en este enlace: %{link_to_published}. Si aún no lo tienes claro…"
|
||||
text_2: "¡aprovecha este momento! Aprende, suma a otras personas con los mismos intereses y prepara la difusión que necesitarás al publicar tu propuesta definitivamente."
|
||||
text_3: "Y para acompañarte en este reto, aquí van las novedades..."
|
||||
text_4: "Échale un vistazo a esta NUEVA ACCIÓN recomendada:"
|
||||
text_5: "La siguiente acción que te recomendamos es:"
|
||||
footer_text: "Como siempre, entra en el Panel de propuestas y te contamos detalladamente cómo utilizar estos recursos y cómo sacarle el máximo partido."
|
||||
dashboard_button: "Adelante, ¡descúbrelos!"
|
||||
new_actions_notification_rake_published:
|
||||
subject: "Más novedades de tu propuesta ciudadana en Decide Madrid"
|
||||
hi: "Hola %{name},"
|
||||
new_resource: "NUEVO RECURSO DESBLOQUEADO"
|
||||
introduction: "Como sabes, el día %{published_at_day} del %{published_at_month} publicaste la propuesta %{title} en la plataforma Decide Madrid."
|
||||
text_1: "Pues bien, has conseguido %{votes_count} apoyos hasta este momento ¡Felicidades!"
|
||||
text_2: "Y por eso, tienes disponible un nuevo recurso para ayudarte a seguir avanzando."
|
||||
text_3: "Te faltan %{days_count} días para que tu propuesta consiga los %{max_votes_count} apoyos y que vaya a referéndum. Ánimo y sigue difundiendo. ¿Te faltan ideas?"
|
||||
text_4: "NUEVA ACCIÓN DE DIFUSIÓN RECOMENDADA"
|
||||
text_5: "Aún hay más, consulta la siguiente acción:"
|
||||
footer_text: "Como siempre, entra en el Panel de propuestas y te contamos detalladamente cómo utilizar estos recursos y cómo sacarle el máximo partido."
|
||||
dashboard_button: "Adelante, ¡descúbrelos!"
|
||||
new_actions_notification_on_create:
|
||||
subject: "Tu borrador de propuesta ciudadana en Decide Madrid está creado"
|
||||
hi: "Hola %{name}!"
|
||||
|
||||
Reference in New Issue
Block a user