From db7ca9b4f45a5498fd5ee02531bfa72a35384883 Mon Sep 17 00:00:00 2001 From: taitus Date: Wed, 10 Apr 2019 13:46:37 +0200 Subject: [PATCH] Add new settings tab 'Remote Census Configuration' This tab shows all settings related to the connection configuration to the remote census. --- app/views/admin/settings/_filter_subnav.html.erb | 7 +++++++ config/locales/en/admin.yml | 2 ++ config/locales/es/admin.yml | 2 ++ 3 files changed, 11 insertions(+) diff --git a/app/views/admin/settings/_filter_subnav.html.erb b/app/views/admin/settings/_filter_subnav.html.erb index 355e7a1c5..04dc41613 100644 --- a/app/views/admin/settings/_filter_subnav.html.erb +++ b/app/views/admin/settings/_filter_subnav.html.erb @@ -40,4 +40,11 @@ <%= t("admin.settings.index.dashboard.title") %> <% end %> + +
  • + <%= link_to "#tab-remote-census-configuration" do %> + <%= t("admin.settings.index.remote_census.title") %> + <% end %> +
  • + diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index 2caa308db..665012c23 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -1311,6 +1311,8 @@ en: how_to_enable: 'To show the map to users you must enable "Proposals and budget investments geolocation" on "Features" tab.' dashboard: title: Proposals dashboard + remote_census: + title: Remote Census configuration setting: Feature setting_actions: Actions setting_name: Setting diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index 36aac20a8..bfb52c68f 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -1312,6 +1312,8 @@ es: how_to_enable: 'Para mostrar el mapa a los usuarios se debe de activar "Geolocalización de propuestas y proyectos de gasto" en la pestaña "Funcionalidades".' dashboard: title: Panel de progreso de propuestas + remote_census: + title: Configuración del Censo Remoto setting: Funcionalidad setting_actions: Acciones setting_name: Configuración