diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb index ce92b0da5..988d03a00 100644 --- a/app/helpers/admin_helper.rb +++ b/app/helpers/admin_helper.rb @@ -21,7 +21,11 @@ module AdminHelper end def menu_polls? - %w[polls questions officers booths officer_assignments booth_assignments recounts results shifts questions answers].include?(controller_name) + %w[polls questions answers].include?(controller_name) + end + + def menu_booths? + %w[officers booths officer_assignments booth_assignments recounts results shifts].include?(controller_name) end def menu_profiles? diff --git a/app/views/admin/_menu.html.erb b/app/views/admin/_menu.html.erb index 8cf4f45af..748c88e3e 100644 --- a/app/views/admin/_menu.html.erb +++ b/app/views/admin/_menu.html.erb @@ -7,8 +7,7 @@ <%= t("admin.menu.title_polls") %> <% end %> +
  • + + + <%= t("admin.menu.title_booths") %> + + +
  • + <% if feature?(:legislation) %>
  • "> <%= link_to admin_legislation_processes_path do %> diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml index 965278bb9..d9504beea 100644 --- a/config/locales/en/admin.yml +++ b/config/locales/en/admin.yml @@ -534,6 +534,7 @@ en: title_profiles: Profiles title_settings: Settings title_site_customization: Site content + title_booths: Voting booths legislation: Collaborative Legislation users: Users administrators: diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index 141360e98..65c2e8ffa 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -534,6 +534,7 @@ es: title_profiles: Perfiles title_settings: Configuración title_site_customization: Contenido del sitio + title_booths: Urnas de votación legislation: Legislación colaborativa users: Usuarios administrators: