Add help text to admin newsletter new

This commit is contained in:
decabeza
2019-05-17 12:53:21 +02:00
parent 035b11c460
commit 30cd7ec9b2
3 changed files with 11 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
<%= back_link_to %>
<h2><%= t("admin.newsletters.new.title") %></h2>
<p>
<%= t("admin.newsletters.new.header_footer_help_text_html",
link: link_to(t("admin.newsletters.new.image_link"),
admin_site_customization_images_path)) %>
</p>
<%= render "form" %>

View File

@@ -780,6 +780,8 @@ en:
new:
title: New newsletter
from: E-mail address that will appear as sending the newsletter
header_footer_help_text_html: "The heading and footer are the same for all emails, you can modify them on <code>app/views/layouts/mailer_header</code> and <code>app/views/layouts/mailer_footer</code>.<br>You can replace header image on %{link}."
image_link: "custom images"
edit:
title: Edit newsletter
show:
@@ -794,7 +796,7 @@ en:
segment_recipient: Recipients
from: E-mail address that will appear as sending the newsletter
body: Email content
body_help_text: This is how the users will see the email
body_help_text: This is how the users will see the email.
send_alert: Are you sure you want to send this newsletter to %{n} users?
admin_notifications:
create_success: Notification created successfully

View File

@@ -779,6 +779,8 @@ es:
new:
title: Nueva newsletter
from: Dirección de correo electrónico que aparecerá como remitente de la newsletter
header_footer_help_text_html: "El encabezado y pie son los mismos en todos los emails, puedes modificarlos en <code>app/views/layouts/mailer_header</code> y <code>app/views/layouts/mailer_footer</code>.<br>Puedes reemplazar la imagen del encabezado en %{link}."
image_link: "personalizar imágenes"
edit:
title: Editar newsletter
show:
@@ -793,7 +795,7 @@ es:
segment_recipient: Destinatarios
from: Dirección de correo electrónico que aparecerá como remitente de la newsletter
body: Contenido del email
body_help_text: Así es como verán el email los usuarios
body_help_text: Así es como verán el email los usuarios.
send_alert: "¿Estás seguro/a de que quieres enviar esta newsletter a %{n} usuarios?"
admin_notifications:
create_success: Notificación creada correctamente