Add System emails menu & list to admin panel

We need a section to list all System Emails to view the templates and
preview an example of what would be sent.
This commit is contained in:
Bertocq
2018-04-12 19:13:49 +02:00
committed by decabeza
parent 3fd97b0a9b
commit b9c6da245a
6 changed files with 59 additions and 1 deletions

View File

@@ -521,6 +521,7 @@ en:
messaging_users: Messages to users
newsletters: Newsletters
admin_notifications: Notifications
system_emails: System Emails
emails_download: Emails download
valuators: Valuators
poll_officers: Poll officers
@@ -649,6 +650,10 @@ en:
preview_guide: "This is how the users will see the notification:"
sent_guide: "This is how the users see the notification:"
send_alert: Are you sure you want to send this notification to %{n} users?
system_emails:
proposal_notification_digest:
title: Proposal Notification Digest
description: Gathers all proposal notifications for an user in a single message, to avoid too much emails.
emails_download:
index:
title: Emails download
@@ -1045,6 +1050,8 @@ en:
image: Image
show_image: Show image
moderated_content: "Check the content moderated by the moderators, and confirm if the moderation has been done correctly."
view: View
preview: Preview
spending_proposals:
index:
geozone_filter_all: All zones

View File

@@ -522,6 +522,7 @@ es:
messaging_users: Mensajes a usuarios
newsletters: Newsletters
admin_notifications: Notificaciones
system_emails: Emails del sistema
emails_download: Descarga de emails
valuators: Evaluadores
poll_officers: Presidentes de mesa
@@ -650,6 +651,10 @@ es:
preview_guide: "Así es como los usuarios verán la notificación:"
sent_guide: "Así es como los usuarios ven la notificación:"
send_alert: ¿Estás seguro/a de que quieres enviar esta notificación a %{n} usuarios?
system_emails:
proposal_notification_digest:
title: Resumen de Notificationes de Propuestas
description: Reune todas las notificaciones de propuestas en un único mensaje, para evitar demasiados emails.
emails_download:
index:
title: Descarga de emails
@@ -1046,6 +1051,8 @@ es:
image: Imagen
show_image: Mostrar imagen
moderated_content: "Revisa el contenido moderado por los moderadores, y confirma si la moderación se ha realizado correctamente."
view: Ver
preview: Previsualizar
spending_proposals:
index:
geozone_filter_all: Todos los ámbitos de actuación