diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index 4921176c3..43c53df36 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -165,7 +165,7 @@
  • > <%= link_to admin_newsletters_path do %> - + <%= t("admin.menu.newsletter") %> <% end %>
  • diff --git a/app/views/admin/newsletters/index.html.erb b/app/views/admin/newsletters/index.html.erb index d851f5fc2..b7b43c6fc 100644 --- a/app/views/admin/newsletters/index.html.erb +++ b/app/views/admin/newsletters/index.html.erb @@ -1 +1,3 @@ -<%= link_to 'users', users_admin_newsletters_path %> \ No newline at end of file +

    <%= t("admin.newsletters.index.title") %>

    + +<%= link_to t("admin.newsletters.index.button"), users_admin_newsletters_path, class: "button" %> \ No newline at end of file diff --git a/config/locales/admin.en.yml b/config/locales/admin.en.yml index fbe8921fd..72010670d 100755 --- a/config/locales/admin.en.yml +++ b/config/locales/admin.en.yml @@ -237,6 +237,10 @@ en: email_placeholder: Search user by email search: Search user_not_found: User not found + newsletters: + index: + title: Newsletters + button: Download zip with users list valuators: index: title: Valuators diff --git a/config/locales/admin.es.yml b/config/locales/admin.es.yml index a81e9eed6..5b18eb445 100644 --- a/config/locales/admin.es.yml +++ b/config/locales/admin.es.yml @@ -205,7 +205,7 @@ es: hidden_users: Usuarios bloqueados managers: Gestores moderators: Moderadores - newsletter: Newsletters + newsletter: Envío de Newsletters valuators: Evaluadores poll_officers: Presidentes de mesa polls: Votaciones @@ -237,6 +237,10 @@ es: email_placeholder: Buscar usuario por email search: Buscar user_not_found: Usuario no encontrado + newsletters: + index: + title: Envío de newsletters + button: Descargar zip con lista de usuarios valuators: index: title: Evaluadores